Update listbyaccount.php

This commit is contained in:
Laurent Destailleur 2020-08-08 13:15:29 +02:00 committed by GitHub
parent d3cb704a0e
commit f8557879fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,12 +543,7 @@ while ($i < min($num, $limit))
// Show the break account
print "<tr>";
if ($totalarray['nbfield']==""){
print '<td colspan="9" style="font-weight:bold; border-bottom: 1pt solid black;">';
}
else {
print '<td colspan="'.$totalarray['nbfield'].'" style="font-weight:bold; border-bottom: 1pt solid black;">';
}
print '<td colspan="'.($totalarray['nbfield'] ? $totalarray['nbfield'] : 9).'" style="font-weight:bold; border-bottom: 1pt solid black;">';
if ($line->numero_compte != "" && $line->numero_compte != '-1') print length_accountg($line->numero_compte).' : '.$object->get_compte_desc($line->numero_compte);
else print '<span class="error">'.$langs->trans("Unknown").'</span>';
print '</td>';