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. 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'); }