From 4c649a227a8169b4aa2a64626ae2f27e5e51738e Mon Sep 17 00:00:00 2001 From: Yoan Mollard Date: Wed, 10 Aug 2022 12:54:14 +0200 Subject: [PATCH] More developer-friendly print of titles --- htdocs/compta/resultat/clientfourn.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/htdocs/compta/resultat/clientfourn.php b/htdocs/compta/resultat/clientfourn.php index 7cac2e25e31..e30e01c5916 100644 --- a/htdocs/compta/resultat/clientfourn.php +++ b/htdocs/compta/resultat/clientfourn.php @@ -250,9 +250,7 @@ if ($date_endyear) { print ''; print ''; -if ($modecompta != 'CREANCES-DETTES') { - print_liste_field_titre(''); // Make 4 columns in total whatever $modecompta is -} + if ($modecompta == 'BOOKKEEPING') { print_liste_field_titre("PredefinedGroups", $_SERVER["PHP_SELF"], 'f.thirdparty_code,f.rowid', '', $param, '', $sortfield, $sortorder, 'width200 '); } else { @@ -265,6 +263,9 @@ if ($modecompta == 'BOOKKEEPING') { if ($modecompta == 'CREANCES-DETTES') { print_liste_field_titre("AmountHT", $_SERVER["PHP_SELF"], 'amount_ht', '', $param, 'class="right"', $sortfield, $sortorder); } + else { + print_liste_field_titre(''); // Make 4 columns in total whatever $modecompta is + } print_liste_field_titre("AmountTTC", $_SERVER["PHP_SELF"], 'amount_ttc', '', $param, 'class="right"', $sortfield, $sortorder); } print "\n";