From 97eff5a421386ec40d56d40bb6819f742477dfdd Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Thu, 19 Jun 2025 17:51:55 +0530 Subject: [PATCH 1/2] Fixed: Total rooms KPI does nothing on click event --- .../default/template/controllers/orders/helpers/view/view.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl index 6327e9f76..0bf76f7fe 100644 --- a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -826,7 +826,7 @@ {hook h="displayAdminOrder" id_order=$order->id} -
+
From 347b2ee715f9c8045ed14d007b127e57e4d5ecf4 Mon Sep 17 00:00:00 2001 From: "vishalsingh.qlo325" Date: Tue, 24 Jun 2025 12:17:10 +0530 Subject: [PATCH 2/2] Fixed: the click events for total rooms and total products KPIs in the order view page --- .../default/template/controllers/orders/helpers/view/view.tpl | 2 +- controllers/admin/AdminOrdersController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl index 0bf76f7fe..6327e9f76 100644 --- a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -826,7 +826,7 @@
{hook h="displayAdminOrder" id_order=$order->id} -
+
diff --git a/controllers/admin/AdminOrdersController.php b/controllers/admin/AdminOrdersController.php index 41070e81b..23c370a5c 100644 --- a/controllers/admin/AdminOrdersController.php +++ b/controllers/admin/AdminOrdersController.php @@ -2865,7 +2865,7 @@ class AdminOrdersControllerCore extends AdminController $helper->color = 'color1'; $helper->title = $this->l('Total Rooms'); $helper->tooltip = $this->l('Total rooms is the number of rooms booked in this order.'); - $helper->href = '#start_rooms'; + $helper->href = '#start_products'; $helper->value = $numRooms; $this->kpis[] = $helper;