Merge pull request #27533 from GregChant/fix-column

Update balance.php
This commit is contained in:
Laurent Destailleur
2024-01-15 17:30:10 +01:00
committed by GitHub

View File

@@ -525,6 +525,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>';
}
@@ -535,7 +538,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>';
}