Merge pull request #1237 from vishal-singh-webkul/gli-2325

Removed: Save and stay button for the new voucher popup on the Book Now page in the back-office.
This commit is contained in:
Rohit Jain
2024-09-30 16:24:23 +05:30
committed by GitHub

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);