// Toolbar modifs

This commit is contained in:
Jerome Nadaud
2013-10-08 18:42:07 +02:00
parent b7e13e2e7f
commit d88857610d
78 changed files with 871 additions and 626 deletions
@@ -108,6 +108,18 @@ class AdminTaxesControllerCore extends AdminController
$this->_where .= ' AND a.deleted = 0';
}
public function initPageHeaderToolbar()
{
if (empty($this->display))
$this->page_header_toolbar_btn['new_tax'] = array(
'href' => self::$currentIndex.'&addtax&token='.$this->token,
'desc' => $this->l('Add new tax'),
'icon' => 'process-icon-new'
);
parent::initPageHeaderToolbar();
}
/**
* Display delete action link
*/