// Fixed #PSCFV-2721

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15913 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-06-07 10:22:08 +00:00
parent a25dec5eac
commit 090091e4fb
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ class WarehouseCore extends ObjectModel
public function getStockValue()
{
$query = new DbQuery();
$query->select('SUM(s.`price_te`)');
$query->select('SUM(s.`price_te` * s.`physical_quantity`)');
$query->from('stock', 's');
$query->where('s.`id_warehouse` = '.(int)$this->id);