// Fixed #PSCFV-2721

This commit is contained in:
bMancone committed 2012-06-07 10:22:08 +00:00
1 parent cf91e2cafe
commit 1741f168c9
3 files changed
+3 -3

No files matched your search

+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);