Move Support contact settings to Settings page

This commit is contained in:
Abhishek Kumar
2023-09-13 15:19:15 +05:30
parent c4d30a80ee
commit 2b405eed03
5 changed files with 140 additions and 122 deletions

View File

@@ -194,6 +194,15 @@ class AdminPPreferencesControllerCore extends AdminController
'required' => false,
'type' => 'bool'
),
'WK_ROOM_LEFT_WARNING_NUMBER' => array(
'title' => $this->l('Display remaining Number of rooms when the rooms are lower than or equal to'),
'hint' => $this->l('Mention the minimum quantity of rooms after which alert message of remaining rooms will get displayed to users.'),
'validation' => 'isInt',
'cast' => 'intval',
'type' => 'text',
'class' => 'fixed-width-xxl',
'visibility' => Shop::CONTEXT_ALL,
),
),
'submit' => array('title' => $this->l('Save'))
),