Add option to disable backdate order from admin

This commit is contained in:
Shreesh Arora
2023-09-18 14:46:05 +05:30
parent ce93a9826f
commit f4758e2396
8 changed files with 82 additions and 22 deletions

View File

@@ -78,6 +78,11 @@ class AdminOrderPreferencesControllerCore extends AdminController
'class' => 'fixed-width-xl',
'suffix' => $this->l('day(s)'),
),
'BACKDATE_ORDER_EMPLOYEES' => array(
'title' => $this->l('Allow backdate order from Back-office'),
'hint' => $this->l('Allow backoffice employees to create bookings for backdate'),
'type' => 'bool',
),
),
'submit' => array(
'title' => $this->l('Save'),