Montant négatif pour ACH et VEN
This commit is contained in:
parent
29808ec9b2
commit
a7df75183d
1 changed files with 6 additions and 1 deletions
|
|
@ -350,7 +350,12 @@ if (isset($_REQUEST['bt_html']))
|
|||
}
|
||||
else
|
||||
{
|
||||
echo nbm($line['montant']) ;
|
||||
if ( isset ($line['TVAC'])) {
|
||||
echo ( nbm($line['TVAC']) < 0 ) ? "<font color=\"red\"> - " . nbm($line['TVAC']) . "</font>" : nbm($line['TVAC']);
|
||||
} else
|
||||
{
|
||||
echo nbm($line['montant']) ;
|
||||
}
|
||||
}
|
||||
echo "</TD>";
|
||||
echo "</tr>";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue