From a6f838a6e0dbc604ea7eb5aacfdfd27e977dc494 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 23 Aug 2020 19:51:13 +0200 Subject: [PATCH] Update card.php --- htdocs/expedition/card.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index 0db066717ca..8de5ac787d7 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -1072,8 +1072,14 @@ if ($action == 'create') print ''.$langs->trans("QtyOrdered").''; print ''.$langs->trans("QtyShipped").''; print ''.$langs->trans("QtyToShip"); - print '
('.$langs->trans("Fill").''; - print ' / '.$langs->trans("Reset").')'; + if (empty($conf->productbatch->enabled)) + { + print '
'.$langs->trans("Fill").''; + print ' / '; + } else { + print '
'; + } + print ''.$langs->trans("Reset").''; print ''; if (!empty($conf->stock->enabled)) {