Revert: The display empty conditions added in the non required controllers, also updated the condition for better understanding

This commit is contained in:
vishalsingh.qlo325
2024-10-03 11:23:37 +05:30
parent a94f6eb30f
commit 29056a2521
41 changed files with 42 additions and 42 deletions

View File

@@ -108,7 +108,7 @@ class AdminOrderMessageControllerCore extends AdminController
public function initPageHeaderToolbar()
{
if ($this->display != 'edit' && $this->display != 'add' && $this->display !='view') {
if (empty($this->display)) {
$this->page_header_toolbar_btn['new_order_message'] = array(
'href' => self::$currentIndex.'&addorder_message&token='.$this->token,
'desc' => $this->l('Add new order message'),