Merge pull request #435 from lakshya-webkul/minimum-length-of-stay

Added feature: minimum and maximum length of stay restriction for room types
This commit is contained in:
Rohit Jain
2022-11-22 19:26:32 +05:30
committed by GitHub
8 changed files with 696 additions and 8 deletions

View File

@@ -108,6 +108,14 @@ class AdminPPreferencesControllerCore extends AdminController
'cast' => 'intval',
'required' => false,
'type' => 'bool'
),
'PS_LOS_RESTRICTION_BO' => array(
'title' => $this->l('Apply Min and Max lenght of stay restrictions for back-office bookings'),
'hint' => $this->l('While creating bookings from back-office, apply minimum and maximum lenght of stay restrictions'),
'validation' => 'isBool',
'cast' => 'intval',
'required' => false,
'type' => 'bool'
)
),
'submit' => array('title' => $this->l('Save'))