mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
hide eatby sellby on expedition
This commit is contained in:
parent
b777c62557
commit
b74113e2eb
|
|
@ -1300,8 +1300,12 @@ if ($action == 'create')
|
|||
|
||||
$detail = '';
|
||||
$detail .= $langs->trans("Batch").': '.$dbatch->batch;
|
||||
$detail .= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby, "day");
|
||||
$detail .= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby, "day");
|
||||
if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) {
|
||||
$detail .= ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby, "day");
|
||||
}
|
||||
if (empty($conf->global->PRODUCT_DISABLE_EATBY)) {
|
||||
$detail .= ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby, "day");
|
||||
}
|
||||
$detail .= ' - '.$langs->trans("Qty").': '.$dbatch->qty;
|
||||
$detail .= '<br>';
|
||||
print $detail;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user