diff --git a/htdocs/compta/paiement/cheque/card.php b/htdocs/compta/paiement/cheque/card.php
index 64f8d2758f1..2ab516f57b3 100644
--- a/htdocs/compta/paiement/cheque/card.php
+++ b/htdocs/compta/paiement/cheque/card.php
@@ -450,7 +450,7 @@ if ($action == 'new') {
}
print '';
print '';
- print '
';
+ print '
';
print '
';
$sql = "SELECT ba.rowid as bid, ba.label,";
@@ -528,11 +528,20 @@ if ($action == 'new') {
print '';
print '';
+ print_fiche_titre($account_label, '', '');
+
$moreforfilter = '';
print '
| '.$langs->trans("Select")." "; + if ($conf->use_javascript_ajax) { + print ''.$langs->trans("All").' / '.$langs->trans("None").''; + } + print ' | ';
+ }
print ''; if ($type == 'CHQ') { print $langs->trans("DateChequeReceived"); @@ -546,47 +555,51 @@ if ($action == 'new') { print ' | '.$langs->trans("Amount")." | \n"; print ''.$langs->trans("Payment")." | \n"; print ''.$langs->trans("LineRecord")." | \n"; - print ''.$langs->trans("Select")." "; - if ($conf->use_javascript_ajax) { - print ''.$langs->trans("All").' / '.$langs->trans("None").''; + if (empty($conf->main_checkbox_left_column)) { + print ' | '.$langs->trans("Select")." "; + if ($conf->use_javascript_ajax) { + print ''.$langs->trans("All").' / '.$langs->trans("None").''; + } + print ' | ';
}
- print '';
print "|||||||||
| '; + print ''; + print ' | '; + } print ''.dol_print_date($value["paymentdate"], 'day').' | '; - print ''.$value["numero"]." | \n"; - print ''.$value["emetteur"]." | \n"; - print ''.$value["banque"]." | \n"; - print ''.price($value["amount"], 0, $langs, 1, -1, -1, $conf->currency).' | '; + print ''.dolPrintHTML($value["numero"])." | \n"; + print ''.dolPrintHTML($value["emetteur"])." | \n"; + print ''.dolPrintHTML($value["banque"])." | \n"; + print ''.price($value["amount"], 0, $langs, 1, -1, -1, $conf->currency).' | '; // Link to payment - print ''; + print ' | '; $paymentstatic->id = $value["paymentid"]; $paymentstatic->ref = $value["paymentref"]; $paymentstatic->date = $value["paymentdate"]; if ($paymentstatic->id) { print $paymentstatic->getNomUrl(1); - } else { - print ' '; } print ' | '; // Link to bank transaction - print ''; + print ' | '; $accountlinestatic->id = $value["id"]; $accountlinestatic->ref = $value["ref"]; if ($accountlinestatic->id > 0) { print $accountlinestatic->getNomUrl(1); - } else { - print ' '; } print ' | '; - - print ''; - print ''; - print ' | '; + if (empty($conf->main_checkbox_left_column)) { + print ''; + print ''; + print ' | '; + } print '