From 27f1e2597d1efbc69d6bf677ab406f2a1e8152e7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 4 Jul 2024 22:44:33 +0200 Subject: [PATCH] Debug v20 --- htdocs/compta/bank/card.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/bank/card.php b/htdocs/compta/bank/card.php index 3b945e244bc..972031319b8 100644 --- a/htdocs/compta/bank/card.php +++ b/htdocs/compta/bank/card.php @@ -375,6 +375,7 @@ if ($action == 'create') { } elseif (!empty($object->ref)) { $title = $object->ref." - ".$langs->trans("Card"); } + llxHeader("", $title, $help_url); // Creation @@ -435,7 +436,7 @@ if ($action == 'create') { // Status print ''.$langs->trans("Status").''; print ''; - print $form->selectarray("clos", $object->status, (GETPOSTINT('clos') != '' ? GETPOSTINT('clos') : $object->status), 0, 0, 0, '', 0, 0, 0, '', 'maxwidth150onsmartphone'); + print $form->selectarray("clos", $object->labelStatus, (GETPOSTINT('clos') != '' ? GETPOSTINT('clos') : $object->status), 0, 0, 0, '', 0, 0, 0, '', 'minwidth100 maxwidth150onsmartphone'); print ''; // Country