From 56eac3580436f0a2cc0ae11a8af2a2af35b32dc6 Mon Sep 17 00:00:00 2001 From: Greg Chanton <87117114+GregChant@users.noreply.github.com> Date: Wed, 10 Jan 2024 16:22:33 +0100 Subject: [PATCH] =?UTF-8?q?Correction=20of=20columns=20in=20accountancy/bo?= =?UTF-8?q?okkeeping/balance.php=20when=20"Di=E2=80=A6=20(#27362)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked * Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked * Correction of columns in accountancy/bookkeeping/balance.php when "Display subtotal by level"" is checked --------- Co-authored-by: Laurent Destailleur --- htdocs/accountancy/bookkeeping/balance.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/htdocs/accountancy/bookkeeping/balance.php b/htdocs/accountancy/bookkeeping/balance.php index 1e35eebbed1..94016d559c7 100644 --- a/htdocs/accountancy/bookkeeping/balance.php +++ b/htdocs/accountancy/bookkeeping/balance.php @@ -523,6 +523,9 @@ if ($action != 'export_csv') { if ($displayed_account != "") { print ''; print ''.$langs->trans("SubTotal").':'; + if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print ''; + } if (getDolGlobalString('ACCOUNTANCY_SHOW_OPENING_BALANCE')) { print ''.price($sous_total_opening_balance).''; } @@ -533,7 +536,9 @@ if ($action != 'export_csv') { } else { print ''.price(price2num($sous_total_debit - $sous_total_credit)).''; } - print "\n"; + if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) { + print "\n"; + } print ''; }