// Toolbar modifs
This commit is contained in:
@@ -72,12 +72,12 @@ class AdminWarehousesControllerCore extends AdminController
|
||||
|
||||
public function initPageHeaderToolbar()
|
||||
{
|
||||
$this->page_header_toolbar_title = $this->l('Warehouses');
|
||||
$this->page_header_toolbar_btn['new_warehouse'] = array(
|
||||
'href' => self::$currentIndex.'&addwarehouse&token='.$this->token,
|
||||
'desc' => $this->l('Add new warehouse'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
if(empty($this->display))
|
||||
$this->page_header_toolbar_btn['new_warehouse'] = array(
|
||||
'href' => self::$currentIndex.'&addwarehouse&token='.$this->token,
|
||||
'desc' => $this->l('Add new warehouse'),
|
||||
'icon' => 'process-icon-new'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user