NEW show SellBy/EatBy dates for each batch product in shipment card
This commit is contained in:
parent
24b0ae85ca
commit
9a780a25d8
1 changed files with 6 additions and 0 deletions
|
|
@ -1526,6 +1526,12 @@ if ($action == 'create') {
|
|||
} else {
|
||||
print 'TableLotIncompleteRunRepairWithParamStandardEqualConfirmed';
|
||||
}
|
||||
if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) {
|
||||
print ' - '.$langs->trans("SellByDate").': '.dol_print_date($dbatch->sellby, "day");
|
||||
}
|
||||
if (empty($conf->global->PRODUCT_DISABLE_EATBY)) {
|
||||
print ' - '.$langs->trans("EatByDate").': '.dol_print_date($dbatch->eatby, "day");
|
||||
}
|
||||
print ' ('.$dbatch->qty.')';
|
||||
$quantityToBeDelivered -= $deliverableQty;
|
||||
if ($quantityToBeDelivered < 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue