2
0
forked from Wavyzz/dolibarr

Fix: reorder the lines correctly

This commit is contained in:
Regis Houssin
2011-04-11 09:00:13 +00:00
parent 1216e08521
commit 1c89213caf
6 changed files with 15 additions and 10 deletions

View File

@@ -913,6 +913,7 @@ class Commande extends CommonObject
if (empty($txtva)) $txtva=0;
if (empty($txlocaltax1)) $txlocaltax1=0;
if (empty($txlocaltax2)) $txlocaltax2=0;
if (empty($fk_parent_line) || $fk_parent_line < 0) $fk_parent_line=0;
$remise_percent=price2num($remise_percent);
$qty=price2num($qty);