Merge pull request #24678 from Hystepik/develop#2

Fix : reception dispatch card
This commit is contained in:
Laurent Destailleur 2023-05-05 01:37:29 +02:00 committed by GitHub
commit d0568ab346
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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">';