Correction of columns in accountancy/bookkeeping/balance.php when "Di… (#27362)

* 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 <eldy@destailleur.fr>
This commit is contained in:
Greg Chanton 2024-01-10 16:22:33 +01:00 committed by GitHub
parent 9aa727b420
commit 56eac35804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -523,6 +523,9 @@ if ($action != 'export_csv') {
if ($displayed_account != "") {
print '<tr class="liste_total">';
print '<td class="right">'.$langs->trans("SubTotal").':</td>';
if (getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print '<td></td>';
}
if (getDolGlobalString('ACCOUNTANCY_SHOW_OPENING_BALANCE')) {
print '<td class="right nowraponall amount">'.price($sous_total_opening_balance).'</td>';
}
@ -533,7 +536,9 @@ if ($action != 'export_csv') {
} else {
print '<td class="right nowraponall amount">'.price(price2num($sous_total_debit - $sous_total_credit)).'</td>';
}
print "<td></td>\n";
if (!getDolGlobalString('MAIN_CHECKBOX_LEFT_COLUMN')) {
print "<td></td>\n";
}
print '</tr>';
}