Update treso.php

This commit is contained in:
Laurent Destailleur 2019-06-20 02:50:23 +02:00 committed by GitHub
parent 9bde7c5229
commit e060af5c97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -293,8 +293,8 @@ if ($_REQUEST["account"] || $_REQUEST["ref"])
}else print "<td></td>";
}
print "<td>".$refcomp."</td>";
if ($obj->total_ttc < 0) { print "<td class='nowrap right'>".price(abs($total_ttc))."</td><td>&nbsp;</td>"; };
if ($obj->total_ttc >= 0) { print "<td>&nbsp;</td><td class='nowrap right'>".price($total_ttc)."</td>"; };
if ($obj->total_ttc < 0) { print '<td class="nowrap right">'.price(abs($total_ttc))."</td><td>&nbsp;</td>"; };
if ($obj->total_ttc >= 0) { print '<td>&nbsp;</td><td class="nowrap right">'.price($total_ttc)."</td>"; };
print '<td class="nowrap right">'.price($solde).'</td>';
print "</tr>";
}