From 7b47ef3ca115937a0876bb2a14b9ddacf9e29d55 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 2 Dec 2017 11:34:56 +0100 Subject: [PATCH] Change order or field --- htdocs/core/lib/sendings.lib.php | 2 +- htdocs/expedition/card.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/core/lib/sendings.lib.php b/htdocs/core/lib/sendings.lib.php index 0e2599e853a..3f5c8b8077c 100644 --- a/htdocs/core/lib/sendings.lib.php +++ b/htdocs/core/lib/sendings.lib.php @@ -352,8 +352,8 @@ function show_list_sending_receive($origin,$origin_id,$filter='') foreach ($lines[$i]->detail_batch as $dbatch) { $detail.= $langs->trans("Batch").': '.$dbatch->batch; - $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby,"day"); + $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty; $detail.= '
'; } diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index 8a127534a40..1318e3f2857 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -1373,8 +1373,8 @@ if ($action == 'create') $detail=''; $detail.= $langs->trans("Batch").': '.$dbatch->batch; - $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby,"day"); + $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty; $detail.= '
'; print $detail; @@ -2388,8 +2388,8 @@ else if ($id || $ref) foreach ($lines[$i]->detail_batch as $dbatch) { $detail.= $langs->trans("Batch").': '.$dbatch->batch; - $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby,"day"); + $detail.= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby,"day"); $detail.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty; $detail.= '
'; }