From 34e178b287689737e6c86d6f3760bcca532b6052 Mon Sep 17 00:00:00 2001 From: amit sharma Date: Tue, 3 Nov 2026 12:59:35 +0530 Subject: [PATCH] Added : add hook in service product tab and also fix issue a related to display tax amount --- .../default/template/controllers/orders/helpers/view/view.tpl | 4 ++-- .../_partials/service-products-list-row.tpl | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl index b6c97c962..b364c3140 100644 --- a/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl +++ b/admin-dev/themes/default/template/controllers/orders/helpers/view/view.tpl @@ -928,7 +928,7 @@ {/if} - {if isset($total_room_services_tax_excl) && $total_room_services_tax_excl > 0} + {if isset($total_room_services_tax_excl) && ($total_room_services_tax_excl - $total_convenience_fee_tax_excl) > 0} {l s='Total Extra services (Tax excl.)'} @@ -1036,7 +1036,7 @@ {/if} - {if isset($total_convenience_fee_tax_excl) && $total_convenience_fee_tax_excl > 0} + {if isset($total_convenience_fee_tax_only) && $total_convenience_fee_tax_only > 0} {l s='Convenience Fee Tax'} diff --git a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl index 4afef90b0..1432c8829 100644 --- a/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl +++ b/themes/hotel-reservation-theme/_partials/service-products-list-row.tpl @@ -63,6 +63,9 @@ {l s='Maximum'} {$service_product.max_quantity} {l s='quantity can be added'}. {/if} + {block name='displayServiceProductActionsAfter'} + {hook h='displayServiceProductActionsAfter' id_service_product=$service_product['id_product']} + {/block} {/if} {/block}