From 2e034cc40285e63beb84ba67fc6325388baa45ab Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Mon, 20 Mar 2023 12:40:18 +0530 Subject: [PATCH] updated services modal design and fixed product line price issue --- .../controllers/orders/_product_line.tpl | 8 +- .../orders/_room_extra_services_modal.tpl | 8 -- .../orders/_room_facilities_block.tpl | 78 +++++++---- .../orders/_room_services_block.tpl | 128 +++++++++++------- controllers/admin/AdminOrdersController.php | 1 + .../RoomTypeServiceProductOrderDetail.php | 4 +- 6 files changed, 138 insertions(+), 89 deletions(-) diff --git a/admin/themes/default/template/controllers/orders/_product_line.tpl b/admin/themes/default/template/controllers/orders/_product_line.tpl index 5f0af8220..0cdb71e44 100644 --- a/admin/themes/default/template/controllers/orders/_product_line.tpl +++ b/admin/themes/default/template/controllers/orders/_product_line.tpl @@ -182,9 +182,11 @@ {convertPriceWithCurrency price=($data['extra_demands_price_te'] + $data['additional_services_price_te'] + $data['convenience_fee_te'] + $data['additional_services_price_auto_add_te']) currency=$currency->id} - - - + {if (isset($data['extra_demands']) && $data['extra_demands']) || (isset($data['additional_services']) && $data['additional_services'])} + + + + {/if}