diff --git a/htdocs/reception/dispatch.php b/htdocs/reception/dispatch.php index b6806e2e805..4a752689304 100644 --- a/htdocs/reception/dispatch.php +++ b/htdocs/reception/dispatch.php @@ -869,7 +869,7 @@ if ($id > 0 || !empty($ref)) { } if ($j == 0) { - if (isModEnabled('productbatch') && !empty($objp->batch)) { + if (isModEnabled('productbatch') && !empty($objp->tobatch)) { $type = 'batch'; // Enable hooks to append additional columns @@ -910,7 +910,7 @@ if ($id > 0 || !empty($ref)) { print ''; print ''; - print ''; + print ''; print ''; if (empty($conf->global->PRODUCT_DISABLE_SELLBY)) { print '';