Change order or field
This commit is contained in:
parent
fa8b913d24
commit
7b47ef3ca1
@ -352,8 +352,8 @@ function show_list_sending_receive($origin,$origin_id,$filter='')
|
|||||||
foreach ($lines[$i]->detail_batch as $dbatch)
|
foreach ($lines[$i]->detail_batch as $dbatch)
|
||||||
{
|
{
|
||||||
$detail.= $langs->trans("Batch").': '.$dbatch->batch;
|
$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("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.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty;
|
||||||
$detail.= '<br>';
|
$detail.= '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1373,8 +1373,8 @@ if ($action == 'create')
|
|||||||
|
|
||||||
$detail='';
|
$detail='';
|
||||||
$detail.= $langs->trans("Batch").': '.$dbatch->batch;
|
$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("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.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty;
|
||||||
$detail.= '<br>';
|
$detail.= '<br>';
|
||||||
print $detail;
|
print $detail;
|
||||||
@ -2388,8 +2388,8 @@ else if ($id || $ref)
|
|||||||
foreach ($lines[$i]->detail_batch as $dbatch)
|
foreach ($lines[$i]->detail_batch as $dbatch)
|
||||||
{
|
{
|
||||||
$detail.= $langs->trans("Batch").': '.$dbatch->batch;
|
$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("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.= ' - '.$langs->trans("Qty").': '.$dbatch->dluo_qty;
|
||||||
$detail.= '<br>';
|
$detail.= '<br>';
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user