// Huge code cleaning on order edition, a lot of values were inconsistent

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16829 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
dMetzger
2012-08-13 16:26:40 +00:00
parent 69384f57f1
commit e930b9b8ed
4 changed files with 53 additions and 52 deletions
+1 -1
View File
@@ -465,7 +465,7 @@ class OrderDetailCore extends ObjectModel
$this->specificPrice = $specific_price;
$this->original_product_price = Product::getPriceStatic($product['id_product'], false, (int)$product['id_product_attribute'], null, null, false, false, 1, false);
$this->product_price = (float)$product['price'];
$this->product_price = $this->original_product_price;
$this->unit_price_tax_incl = (float)$product['price_wt'];
$this->unit_price_tax_excl = (float)$product['price'];
$this->total_price_tax_incl = (float)$product['total_wt'];