// SupplierOrder now adds products in warehouses

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9936 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2011-11-07 16:13:14 +00:00
parent ad8f419186
commit 88b6219e66
4 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ class SupplierOrderDetailCore extends ObjectModel
protected function calculatePrices()
{
// calcul entry price
$htis->price_te = (float)$this->unit_price_te * (int)$this->quantity_expected;
$this->price_te = (float)$this->unit_price_te * (int)$this->quantity_expected;
// calcul entry discount value
if ($this->discount_rate != null && is_numeric($this->discount_rate) && $this->discount_rate > 0)