Merge remote-tracking branch 'origin/develop' into qlo-catalog-update

This commit is contained in:
Shreesh Arora
2022-12-07 18:45:15 +05:30
135 changed files with 3708 additions and 3463 deletions

View File

@@ -263,6 +263,11 @@ class AdminDashboardControllerCore extends AdminController
$calendar_helper->setCompareDateTo($stats_compare_to);
$calendar_helper->setCompareOption(Tools::getValue('compare_date_option', $this->context->employee->stats_compare_option));
Media::addJsDef(array(
'date_subtitle' => $this->l('(from %s to %s)'),
'date_format' => $this->context->language->date_format_lite,
));
$params = array(
'date_from' => $this->context->employee->stats_date_from,
'date_to' => $this->context->employee->stats_date_to,
@@ -307,7 +312,7 @@ class AdminDashboardControllerCore extends AdminController
'PS_DASHBOARD_SIMULATION' => Configuration::get('PS_DASHBOARD_SIMULATION'),
'datepickerFrom' => Tools::getValue('datepickerFrom', $this->context->employee->stats_date_from),
'datepickerTo' => Tools::getValue('datepickerTo', $this->context->employee->stats_date_to),
'preselect_date_range' => Tools::getValue('preselectDateRange', $this->context->employee->preselect_date_range)
'preselect_date_range' => Tools::getValue('preselectDateRange', $this->context->employee->preselect_date_range),
);
return parent::renderView();
}