Added : add hook in service product tab and also fix issue a related to display tax amount

This commit is contained in:
amit sharma
2026-11-03 12:59:35 +05:30
parent 9a752f5351
commit 34e178b287
2 changed files with 5 additions and 2 deletions

View File

@@ -928,7 +928,7 @@
<td class="partial_refund_fields current-edit" style="display:none;"></td>
</tr>
{/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}
<tr id="total_products">
<td class="text-right">{l s='Total Extra services (Tax excl.)'}</td>
<td class="amount text-right nowrap">
@@ -1036,7 +1036,7 @@
<td class="partial_refund_fields current-edit" style="display:none;"></td>
</tr>
{/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}
<tr id="total_products">
<td class="text-left">{l s='Convenience Fee Tax'}</td>
<td class="amount text-right nowrap">

View File

@@ -63,6 +63,9 @@
{l s='Maximum'} {$service_product.max_quantity} {l s='quantity can be added'}.
</div>
{/if}
{block name='displayServiceProductActionsAfter'}
{hook h='displayServiceProductActionsAfter' id_service_product=$service_product['id_product']}
{/block}
</div>
{/if}
{/block}