Debug colspan

This commit is contained in:
Alexandre SPANGARO 2020-05-12 07:27:20 +02:00
parent 04480847df
commit 0dccc9cbeb

View File

@ -302,12 +302,11 @@ if ($action != 'export_csv')
if (empty($displayed_account) || $root_account_description != $displayed_account) {
// Affiche un Sous-Total par compte comptable
if ($displayed_account != "") {
print '<tr class="liste_total"><td class="right" colspan="2">' . $langs->trans("SubTotal") . ':</td>';
print '<tr class="liste_total"><td class="right" colspan="3">' . $langs->trans("SubTotal") . ':</td>';
print '<td class="nowrap right">' . price($sous_total_debit) . '</td>';
print '<td class="nowrap right">' . price($sous_total_credit) . '</td>';
print '<td class="nowrap right">' . price(price2num($sous_total_credit - $sous_total_debit)) . '</td>';
print "<td></td>\n";
print "<td></td>\n";
print '</tr>';
}