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_num|escape:'html':'UTF-8'} + {$data.room_num|escape:'html':'UTF-8'} {hook h='displayRoomNumAfter' data=$data type='adminOrder'}

{$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'}
@@ -94,6 +95,7 @@
+ {hook h='displayDashGuestCycleTabContent'} diff --git a/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/_partials/booking-rooms.tpl b/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/_partials/booking-rooms.tpl index 21f4c0e7b..813eccb13 100644 --- a/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/_partials/booking-rooms.tpl +++ b/modules/hotelreservationsystem/views/templates/admin/hotel_rooms_booking/helpers/view/_partials/booking-rooms.tpl @@ -40,7 +40,7 @@ {foreach from=$book_v['data']['available'] key=avai_k item=avai_v} - {$avai_v['room_num']|escape:'htmlall':'UTF-8'} + {$avai_v['room_num']|escape:'htmlall':'UTF-8'} {hook h='displayRoomNumAfter' data=$avai_v type='available'} {dateFormat date=date('Y-m-d', strtotime($date_from))} - {dateFormat date=date('Y-m-d', strtotime($date_to))} {$avai_v['room_comment']|escape:'htmlall':'UTF-8'} @@ -129,7 +129,7 @@

{dateFormat date=date('Y-m-d', strtotime($part_v['date_from']))} - {dateFormat date=date('Y-m-d', strtotime($part_v['date_to']))}

{/if} - {$sub_part_v['room_num']|escape:'htmlall':'UTF-8'} + {$sub_part_v['room_num']|escape:'htmlall':'UTF-8'} {hook h='displayRoomNumAfter' data=$sub_part_v type='partially_available'} {foreach $allotment_types as $allotment_type}