Fix: Suppression trace
This commit is contained in:
parent
55d1d176c9
commit
5ee986de3b
@ -310,8 +310,6 @@ if ($conf->facture->enabled && $conf->commande->enabled && $user->rights->comman
|
|||||||
while ($i < $num)
|
while ($i < $num)
|
||||||
{
|
{
|
||||||
$obj = $db->fetch_object($resql);
|
$obj = $db->fetch_object($resql);
|
||||||
// if ($obj->total_ttc-$obj->tot_fttc >0)
|
|
||||||
// {
|
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
print "<tr $bc[$var]>";
|
print "<tr $bc[$var]>";
|
||||||
print "<td width=\"20%\"><a href=\"commande/fiche.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order").'</a> ';
|
print "<td width=\"20%\"><a href=\"commande/fiche.php?id=$obj->rowid\">".img_object($langs->trans("ShowOrder"),"order").'</a> ';
|
||||||
@ -326,9 +324,8 @@ if ($conf->facture->enabled && $conf->commande->enabled && $user->rights->comman
|
|||||||
print '</tr>';
|
print '</tr>';
|
||||||
$tot_ht += $obj->total_ht;
|
$tot_ht += $obj->total_ht;
|
||||||
$tot_ttc += $obj->total_ttc;
|
$tot_ttc += $obj->total_ttc;
|
||||||
print "x".$tot_ttc."z".$obj->tot_fttc;
|
//print "x".$tot_ttc."z".$obj->tot_fttc;
|
||||||
$tot_tobill += ($obj->total_ttc-$obj->tot_fttc);
|
$tot_tobill += ($obj->total_ttc-$obj->tot_fttc);
|
||||||
// }
|
|
||||||
$i++;
|
$i++;
|
||||||
}
|
}
|
||||||
$var=!$var;
|
$var=!$var;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user