[+] BO : Page header toolbar
This commit is contained in:
@@ -70,6 +70,18 @@ class AdminWarehousesControllerCore extends AdminController
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
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'
|
||||
);
|
||||
|
||||
parent::initPageHeaderToolbar();
|
||||
}
|
||||
|
||||
/**
|
||||
* AdminController::renderList() override
|
||||
* @see AdminController::renderList()
|
||||
|
||||
Reference in New Issue
Block a user