From 3fb69f8ec0d7b7e2182eb28736a4fe3b74058483 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 31 Mar 2021 21:28:07 +0200 Subject: [PATCH] Fix report --- htdocs/compta/stats/index.php | 8 +++++++- htdocs/compta/stats/supplier_turnover.php | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/htdocs/compta/stats/index.php b/htdocs/compta/stats/index.php index f1e5c241ab0..ea3bdabd93d 100644 --- a/htdocs/compta/stats/index.php +++ b/htdocs/compta/stats/index.php @@ -336,7 +336,13 @@ for ($annee = $year_start; $annee <= $year_end; $annee++) { if ($modecompta == 'CREANCES-DETTES') { print ''.$langs->trans("AmountHT").''; } - print ''.$langs->trans("AmountTTC").''; + print ''; + if ($modecompta == "BOOKKEEPING") { + print $langs->trans("Amount"); + } else { + print $langs->trans("AmountTTC"); + } + print ''; print ''.$langs->trans("Delta").''; if ($annee != $year_end) { print ' '; diff --git a/htdocs/compta/stats/supplier_turnover.php b/htdocs/compta/stats/supplier_turnover.php index 6beba492fb5..bb341c6a3a5 100644 --- a/htdocs/compta/stats/supplier_turnover.php +++ b/htdocs/compta/stats/supplier_turnover.php @@ -272,7 +272,13 @@ for ($annee = $year_start; $annee <= $year_end; $annee++) { if ($modecompta == 'CREANCES-DETTES') { print ''.$langs->trans("AmountHT").''; } - print ''.$langs->trans("AmountTTC").''; + print ''; + if ($modecompta == "BOOKKEEPING") { + print $langs->trans("Amount"); + } else { + print $langs->trans("AmountTTC"); + } + print ''; print ''.$langs->trans("Delta").''; if ($annee != $year_end) { print ' ';