// Remove $display_multishop_toolbar and add instead $multishop_context to manage shop context per admin controller

This commit is contained in:
rMalie
2012-02-22 14:25:28 +00:00
parent 355175c2a7
commit cc72ac8a9b
15 changed files with 46 additions and 27 deletions
@@ -44,7 +44,6 @@ class AdminSupplyOrdersControllerCore extends AdminController
$this->identifier = 'id_supply_order';
$this->lang = false;
$this->is_template_list = false;
$this->display_multishop_toolbar = false;
$this->addRowAction('updatereceipt');
$this->addRowAction('changestate');
@@ -114,6 +113,8 @@ class AdminSupplyOrdersControllerCore extends AdminController
array_unshift($this->warehouses, array('id_warehouse' => -1, 'name' => $this->l('All Warehouses')));
parent::__construct();
$this->multishop_context = null;
}
/**