Fix : reception dispatch card

This commit is contained in:
hystepik 2023-05-03 15:36:10 +02:00
parent 4fd94e2ba2
commit b74c00b830

View File

@ -869,7 +869,7 @@ if ($id > 0 || !empty($ref)) {
} }
if ($j == 0) { if ($j == 0) {
if (isModEnabled('productbatch') && !empty($objp->batch)) { if (isModEnabled('productbatch') && !empty($objp->tobatch)) {
$type = 'batch'; $type = 'batch';
// Enable hooks to append additional columns // Enable hooks to append additional columns
@ -910,7 +910,7 @@ if ($id > 0 || !empty($ref)) {
print '</td>'; print '</td>';
print '<td>'; print '<td>';
print '<input disabled="" type="text" class="inputlotnumber quatrevingtquinzepercent" id="lot_number'.$suffix.'" name="lot_number'.$suffix.'" value="'.$objd->batch.'">'; print '<input type="text" class="inputlotnumber quatrevingtquinzepercent" id="lot_number'.$suffix.'" name="lot_number'.$suffix.'" value="'.GETPOST('lot_number'.$suffix).'">';
print '</td>'; print '</td>';
if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) { if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) {
print '<td class="nowraponall">'; print '<td class="nowraponall">';