Updated: KPI design at back office

This commit is contained in:
Abhishek Kumar
2023-11-02 12:48:49 +05:30
parent ce93a9826f
commit 86d76ea4e8
17 changed files with 856 additions and 215 deletions

View File

@@ -66,7 +66,8 @@ class AdminPPreferencesControllerCore extends AdminController
'hint' => $this->l('The counting of days starts from room type creation date.'),
'validation' => 'isUnsignedInt',
'cast' => 'intval',
'type' => 'text'
'type' => 'text',
'class' => 'fixed-width-xxl',
),
/*'PS_CART_REDIRECT' => array(
'title' => $this->l('Redirect after adding product to cart'),
@@ -88,6 +89,7 @@ class AdminPPreferencesControllerCore extends AdminController
'cast' => 'intval',
'type' => 'text',
'suffix' => $this->l('characters'),
'class' => 'fixed-width-xl',
),
/*'PS_QTY_DISCOUNT_ON_COMBINATION' => array(
'title' => $this->l('Quantity discounts based on'),
@@ -109,7 +111,16 @@ class AdminPPreferencesControllerCore extends AdminController
'cast' => 'intval',
'required' => false,
'type' => 'bool'
)
),
'PS_KPI_BEST_SELLING_ROOM_TYPE_NB_DAYS' => array(
'title' => $this->l('Number of days to use to calculate best selling room type'),
'hint' => $this->l('Set the number of days to use to calculate best selling room type.'),
'validation' => 'isUnsignedInt',
'cast' => 'intval',
'type' => 'text',
'suffix' => $this->l('days'),
'class' => 'fixed-width-xl',
),
),
'submit' => array('title' => $this->l('Save'))
),
@@ -205,7 +216,8 @@ class AdminPPreferencesControllerCore extends AdminController
'hint' => $this->l('Number of room types displayed per page. Default is 10.'),
'validation' => 'isUnsignedInt',
'cast' => 'intval',
'type' => 'text'
'type' => 'text',
'class' => 'fixed-width-xxl',
),
'PS_PRODUCTS_ORDER_BY' => array(
'title' => $this->l('Default order by'),
@@ -312,7 +324,8 @@ class AdminPPreferencesControllerCore extends AdminController
'hint' => $this->l('Number of hotel images displayed per page. Default is 9.'),
'validation' => 'isUnsignedInt',
'cast' => 'intval',
'type' => 'text'
'type' => 'text',
'class' => 'fixed-width-xxl',
),
),
'submit' => array('title' => $this->l('Save'))