diff --git a/htdocs/compta/charges/index.php b/htdocs/compta/charges/index.php
index f30e7e27eac..d568b0965c7 100644
--- a/htdocs/compta/charges/index.php
+++ b/htdocs/compta/charges/index.php
@@ -343,7 +343,7 @@ if (isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) {
// Ref payment
$ptva_static->id = $obj->rowid;
$ptva_static->ref = $obj->rowid;
- print '
'.$ptva_static->getNomUrl(1)." | \n";
+ print ''.$ptva_static->getNomUrl(1)." | \n";
// Date
print ''.dol_print_date($db->jdate($obj->date_payment), 'day')." | \n";
@@ -382,20 +382,26 @@ if (isModEnabled('tax') && $user->hasRight('tax', 'charges', 'lire')) {
}
print '';
- print '| '.$langs->trans("Total").' | ';
+ print ''.$langs->trans("Total").' | ';
// Total here has no sens because we can have several time the same line
//print ''.price($totaltopay).' | ';
- print ' | ';
+ print ' | ';
- print ' | ';
- print ' | ';
- print ' | ';
- print ''.price($total)." | ";
+ print ' | ';
+ print ' | ';
+ print ' | ';
+
+ if (isModEnabled("banque")) {
+ print ' | ';
+ }
+
+ print ''.price($total)." | ";
print "
";
print "";
+
$db->free($result);
} else {
dol_print_error($db);