From b74c00b830162ae259baaa31d18e13c597e02196 Mon Sep 17 00:00:00 2001 From: hystepik Date: Wed, 3 May 2023 15:36:10 +0200 Subject: [PATCH] Fix : reception dispatch card --- htdocs/reception/dispatch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '';