// Stock : add state management on orders + bugs fix

This commit is contained in:
dSevere
2011-10-31 16:52:40 +00:00
parent c4070782f1
commit 48c76d5889
4 changed files with 91 additions and 5 deletions
+1 -1
View File
@@ -228,7 +228,7 @@ class SupplierOrderDetailCore extends ObjectModel
// calcul tax value
$this->tax_value = $this->price_with_discount_te * ((float)$this->tax_rate / 100);
$this->price_ti = $this->price_with_discount_te - $this->tax_value;
$this->price_ti = $this->price_with_discount_te + $this->tax_value;
// define default values for order discount fields
$this->tax_value_with_order_discount = $this->tax_value;