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

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9755 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dSevere
2011-10-31 16:52:40 +00:00
parent fe2abf8bc0
commit e12751102b
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;