Debug v14

This commit is contained in:
Laurent Destailleur 2021-05-25 23:30:06 +02:00
parent f9d6438bae
commit 94c8246f68

View File

@ -969,7 +969,7 @@ if (!$variants) {
print '<tr class="oddeven">';
print '<td colspan="4">';
print $entrepotstatic->getNomUrl(1);
if (!empty($conf->productbatch->enabled)) {
if (!empty($conf->productbatch->enabled) && $object->hasbatch()) {
print '<a class="collapse_batch marginleftonly" id="ent' . $entrepotstatic->id . '" href="#">';
print (empty($conf->global->STOCK_SHOW_ALL_BATCH_BY_DEFAULT) ? '(+)' : '(-)');
print '</a>';