// Fixed stock cover

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13859 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone
2012-03-05 18:17:30 +00:00
parent fb246e9b4b
commit 92a3249e8b
@@ -193,6 +193,9 @@ class AdminStockCoverControllerCore extends AdminController
if ($this->getCurrentCoverageWarehouse() != -1)
$this->_where .= ' AND s.id_warehouse = '.$this->getCurrentCoverageWarehouse();
// Hack for multi shop ..
$this->_where .= ' AND b.id_shop = 1';
$this->tpl_list_vars['stock_cover_periods'] = $this->stock_cover_periods;
$this->tpl_list_vars['stock_cover_cur_period'] = $this->getCurrentCoveragePeriod();
$this->tpl_list_vars['stock_cover_warehouses'] = $this->stock_cover_warehouses;