// Fix toolbar button and toolbar title for invoices
This commit is contained in:
1 parent
60214d8fb6
commit
f9373e6178
1 file changed
+11
@@ -201,6 +201,17 @@ class AdminInvoicesControllerCore extends AdminController
|
|||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function initToolbarTitle()
|
||||||
|
{
|
||||||
|
$this->toolbar_title = array_unique($this->breadcrumbs);
|
||||||
|
}
|
||||||
|
|
||||||
|
public function initPageHeaderToolbar()
|
||||||
|
{
|
||||||
|
parent::initPageHeaderToolbar();
|
||||||
|
unset($this->page_header_toolbar_btn['cancel']);
|
||||||
|
}
|
||||||
|
|
||||||
public function postProcess()
|
public function postProcess()
|
||||||
{
|
{
|
||||||
if (Tools::isSubmit('submitAddinvoice_date'))
|
if (Tools::isSubmit('submitAddinvoice_date'))
|
||||||
|
|||||||
Reference in new issue
Block a user