diff --git a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl index 2f421b9a4..214705745 100644 --- a/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl +++ b/admin/themes/default/template/controllers/orders/_current_cart_details_data.tpl @@ -46,7 +46,7 @@ {assign var=curr_id value=$cart->id_currency|intval} {foreach from=$cart_detail_data item=data}
{$data.room_type|escape:'html':'UTF-8'}
diff --git a/controllers/admin/AdminDashboardController.php b/controllers/admin/AdminDashboardController.php index e8dd7d06c..facba168f 100644 --- a/controllers/admin/AdminDashboardController.php +++ b/controllers/admin/AdminDashboardController.php @@ -386,7 +386,16 @@ class AdminDashboardControllerCore extends AdminController 'extra' => Tools::getValue('extra') ); - die(json_encode(Hook::exec('dashboardData', $params, $id_module, true, true, (int)Tools::getValue('dashboard_use_push')))); + // code to be added. + $data = Hook::exec('dashboardData', $params, $id_module, true, true, (int)Tools::getValue('dashboard_use_push')); + Hook::exec('actionDashboardDataModifier', array( + 'data' => &$data, + 'params' => $params, + 'id_module' => $id_module, + 'dashboard_use_push' => (int)Tools::getValue('dashboard_use_push') + )); + + $this->ajaxDie(json_encode($data)); } public function ajaxProcessSetSimulationMode() diff --git a/modules/dashguestcycle/views/templates/hook/dashboard-zone-two.tpl b/modules/dashguestcycle/views/templates/hook/dashboard-zone-two.tpl index e382cfece..abc0a402c 100644 --- a/modules/dashguestcycle/views/templates/hook/dashboard-zone-two.tpl +++ b/modules/dashguestcycle/views/templates/hook/dashboard-zone-two.tpl @@ -61,6 +61,7 @@ 0 + {hook h='displayDashGuestCycleTab'}{dateFormat date=date('Y-m-d', strtotime($part_v['date_from']))} - {dateFormat date=date('Y-m-d', strtotime($part_v['date_to']))}