From e6ca13ca65b5339102809ce50af657765828936c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 19 Jan 2023 15:57:44 +0100 Subject: [PATCH 1/2] Missing column --- htdocs/compta/prelevement/factures.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/compta/prelevement/factures.php b/htdocs/compta/prelevement/factures.php index 378480ef0d2..cc416d7d530 100644 --- a/htdocs/compta/prelevement/factures.php +++ b/htdocs/compta/prelevement/factures.php @@ -334,6 +334,9 @@ if ($resql) { if ($num > 0) { print ''; print ''.$langs->trans("Total").''; + if ($object->type == 'bank-transfer') { + print ' '; + } print ' '; print ''; //if ($totalinvoices != $object->amount) print img_warning("AmountOfFileDiffersFromSumOfInvoices"); // It is normal to have total that differs. For an amount of invoice of 100, request to pay may be 50 only. From 7a13ca65b503a8161b73f67d1d47e7a42bbcacd5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Fri, 20 Jan 2023 09:26:58 +0100 Subject: [PATCH 2/2] Fix missing empty value --- htdocs/compta/sociales/card.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/compta/sociales/card.php b/htdocs/compta/sociales/card.php index b20ecd8ede9..adb525c7d5e 100644 --- a/htdocs/compta/sociales/card.php +++ b/htdocs/compta/sociales/card.php @@ -632,7 +632,7 @@ if ($id > 0) { print ''; print ''; if ($action == 'editmode') { - $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id'); + $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'mode_reglement_id', '', 1, 1); } else { $form->form_modes_reglement($_SERVER['PHP_SELF'].'?id='.$object->id, $object->mode_reglement_id, 'none'); }