From fae6dff86f896e570a9bc90477dc327df83f2a0d Mon Sep 17 00:00:00 2001 From: azhar bhat Date: Wed, 21 Jan 2026 17:17:38 +0530 Subject: [PATCH] customer service improvement --- .../controllers/orders/helpers/view/view.tpl | 6 +- .../orders/modals/_add_room_booking.tpl | 6 + .../orders/modals/_delete_room_booking.tpl | 54 ++++++++ .../orders/modals/_edit_room_tab_content.tpl | 6 + .../orders/modals/_room_reallocation.tpl | 12 ++ classes/PaymentModule.php | 6 +- controllers/admin/AdminCartsController.php | 1 + .../admin/AdminCustomerThreadsController.php | 23 +++- controllers/admin/AdminOrdersController.php | 99 ++++++++++++++- controllers/front/OrderDetailController.php | 2 +- install/data/xml/configuration.xml | 4 +- js/admin/orders.js | 120 ++++++++++++------ js/admin/reallocation.js | 1 + 13 files changed, 284 insertions(+), 56 deletions(-) create mode 100644 admin/themes/default/template/controllers/orders/modals/_delete_room_booking.tpl 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 c0c841758..32887116b 100644 --- a/admin/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -720,11 +720,11 @@ {$message['elastname']|escape:'html':'UTF-8'}{else}{$message['cfirstname']|escape:'html':'UTF-8'} {$message['clastname']|escape:'html':'UTF-8'} {/if},   - {dateFormat date=$message['date_add']} + {dateFormat date=$message.date_add full=1} - {if ($message['private'] == 1)} + {* {if ($message['private'] == 1)} {l s='Private'} - {/if} + {/if} *}

{if !$smarty.foreach.customerMessage.last}
{/if} diff --git a/admin/themes/default/template/controllers/orders/modals/_add_room_booking.tpl b/admin/themes/default/template/controllers/orders/modals/_add_room_booking.tpl index b9e6524cf..d63ce2421 100644 --- a/admin/themes/default/template/controllers/orders/modals/_add_room_booking.tpl +++ b/admin/themes/default/template/controllers/orders/modals/_add_room_booking.tpl @@ -128,6 +128,12 @@ {/if} +
+
+ + +
+
{if isset($invoices_collection) && sizeof($invoices_collection)} +
+
+ + +
+
+ +
+
+ + +
+