Update mo_production.php

This commit is contained in:
Laurent Destailleur 2021-09-18 16:14:42 +02:00 committed by GitHub
parent b8d37ec37e
commit e9e0258444
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -726,12 +726,14 @@ if ($object->id > 0 && (empty($action) || ($action != 'edit' && $action != 'crea
print $langs->trans("Warehouse");
}
print '</td>';
// Available
print '<td>';
if ($collapse || in_array($action, array('consumeorproduce', 'consumeandproduceall'))) {
print $langs->trans("Available");
if ($conf->productbatch->enabled) {
// Available
print '<td>';
if ($collapse || in_array($action, array('consumeorproduce', 'consumeandproduceall'))) {
print $langs->trans("Available");
}
print '</td>';
}
print '</td>';
// Lot - serial
if ($conf->productbatch->enabled) {
print '<td>';