[+] BO : Page header toolbar

This commit is contained in:
Jerome Nadaud
2013-08-28 09:24:16 +02:00
parent 00155d584e
commit 068da6f87c
4 changed files with 52 additions and 0 deletions
+12
View File
@@ -75,6 +75,18 @@ class AdminSlipControllerCore extends AdminController
parent::__construct();
}
public function initPageHeaderToolbar()
{
$this->page_header_toolbar_title = $this->l('Slips');
$this->page_header_toolbar_btn['generate_pdf'] = array(
'href' => self::$currentIndex.'&token='.$this->token,
'desc' => $this->l('Generate PDF'),
'icon' => 'process-icon-save-date'
);
parent::initPageHeaderToolbar();
}
public function renderForm()
{
$this->fields_form = array(