From 9e009178d8e43dee4ceaa73c124dc9ee2a137bdf Mon Sep 17 00:00:00 2001 From: Amit sharma Date: Thu, 5 Feb 2026 19:26:44 +0530 Subject: [PATCH] fixed: customer selection is lost when services are added or removed --- .../template/controllers/orders/form.tpl | 26 ++++++++++++++++--- controllers/admin/AdminOrdersController.php | 1 + 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/admin/themes/default/template/controllers/orders/form.tpl b/admin/themes/default/template/controllers/orders/form.tpl index 0451cd31d..1de5ef4e7 100644 --- a/admin/themes/default/template/controllers/orders/form.tpl +++ b/admin/themes/default/template/controllers/orders/form.tpl @@ -1572,6 +1572,7 @@ id_room: idRoom, id_cart: idCart, id_product: idProduct, + id_customer: id_customer, id_hotel_cart_booking: idHotelCartBooking, action: 'getRoomTypeCartDemands', ajax: true @@ -1877,7 +1878,7 @@ {l s='Customer'} -
+
id_customer) && $cart->id_customer && isset($customer) && $customer }style="display:none;"{/if} class="form-group">
-
+
+ {if isset($cart->id_customer) && $cart->id_customer && isset($customer) && $customer } +
+
+
+ {$customer->firstname} {$customer->lastname} #{$customer->id} +
+ {$customer->email}
+
+ +
+
+ {/if} +
{*
{include file='controllers/orders/_current_cart_details_data.tpl'} -