Added : add hook in service product tab and also fix issue a related to display tax amount
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user