Removed: Save and stay button for the new voucher popup on the book now page

This commit is contained in:
vishalsingh.qlo325
2024-09-24 16:40:08 +05:30
parent 589dd8305f
commit 82fd7504ba

View File

@@ -752,10 +752,12 @@ class AdminCartRulesControllerCore extends AdminController
public function renderForm()
{
$limit = 40;
$this->toolbar_btn['save-and-stay'] = array(
'href' => '#',
'desc' => $this->l('Save and Stay')
);
if (!Tools::getValue('liteDisplaying')) {
$this->toolbar_btn['save-and-stay'] = array(
'href' => '#',
'desc' => $this->l('Save and Stay')
);
}
/** @var CartRule $current_object */
$current_object = $this->loadObject(true);