update adminorders page min date and updated configuration
This commit is contained in:
@@ -78,6 +78,16 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
'class' => 'fixed-width-xl',
|
||||
'suffix' => $this->l('day(s)'),
|
||||
),
|
||||
'PS_BACKDATE_ORDER_SUPERADMIN' => array(
|
||||
'title' => $this->l('Allow backdate order from Back-office for super-admin'),
|
||||
'hint' => $this->l('Allow superadmin to create bookings for backdate'),
|
||||
'type' => 'bool',
|
||||
),
|
||||
'PS_BACKDATE_ORDER_EMPLOYEES' => array(
|
||||
'title' => $this->l('Allow backdate order from Back-office for employees'),
|
||||
'hint' => $this->l('Allow employees to create bookings for backdate'),
|
||||
'type' => 'bool',
|
||||
),
|
||||
),
|
||||
'submit' => array(
|
||||
'title' => $this->l('Save'),
|
||||
@@ -197,22 +207,6 @@ class AdminOrderPreferencesControllerCore extends AdminController
|
||||
),
|
||||
'submit' => array('title' => $this->l('Save'))
|
||||
),
|
||||
'back_date_order' => array(
|
||||
'title' => $this->l('Backdate Order Restrictions'),
|
||||
'icon' => 'icon-cogs',
|
||||
'fields' => array(
|
||||
'PS_BACKDATE_ORDER_SUPERADMIN' => array(
|
||||
'title' => $this->l('Allow backdate order from Back-office for super-admin'),
|
||||
'hint' => $this->l('Allow superadmin to create bookings for backdate'),
|
||||
'type' => 'bool',
|
||||
),
|
||||
'PS_BACKDATE_ORDER_EMPLOYEES' => array(
|
||||
'title' => $this->l('Allow backdate order from Back-office for employees'),
|
||||
'hint' => $this->l('Allow employees to create bookings for backdate'),
|
||||
'type' => 'bool',
|
||||
),
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
if (!Configuration::get('PS_ALLOW_MULTISHIPPING')) {
|
||||
|
||||
Reference in New Issue
Block a user