From fd2042b7eeb95531702c49c6a985f12f27658afa Mon Sep 17 00:00:00 2001 From: Sumit Panwar Date: Thu, 6 Jun 2024 15:09:06 +0530 Subject: [PATCH] Fixed: No validation for length of characters in traveller detail fields in Front and Back office --- .../orders/modals/_traveller_form.tpl | 1 + classes/CartCustomerGuestDetail.php | 25 +++++++++++ classes/order/OrderCustomerGuestDetail.php | 28 +++--------- controllers/admin/AdminOrdersController.php | 44 +++++++++++-------- controllers/front/OrderOpcController.php | 40 +++++++++++++++-- js/admin/orders.js | 15 +++++-- js/validate.js | 14 ++++++ themes/hotel-reservation-theme/order-opc.tpl | 10 ++--- 8 files changed, 124 insertions(+), 53 deletions(-) diff --git a/admin/themes/default/template/controllers/orders/modals/_traveller_form.tpl b/admin/themes/default/template/controllers/orders/modals/_traveller_form.tpl index 103f7bf85..b238bdb99 100644 --- a/admin/themes/default/template/controllers/orders/modals/_traveller_form.tpl +++ b/admin/themes/default/template/controllers/orders/modals/_traveller_form.tpl @@ -18,6 +18,7 @@ *} @@ -515,4 +515,4 @@ - \ No newline at end of file +