Update listbyaccount.php

fixed #14408
This commit is contained in:
asolslk 2020-08-08 19:04:38 +08:00 committed by GitHub
parent 4e6158d23c
commit 5291746252
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -543,7 +543,13 @@ while ($i < min($num, $limit))
// Show the break account
print "<tr>";
print '<td colspan="'.$totalarray['nbfield'].'" style="font-weight:bold; border-bottom: 1pt solid black;">';
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;">';
}
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>';