Fixed: Total and total cost mismatch due to tourism tax in the booking cart
Co-authored-by: Name <azharbhat.qlo098@webkul.in>
This commit is contained in:
@@ -190,6 +190,12 @@
|
||||
<td colspan="7">{l s='Total cost:'}</td>
|
||||
<td class="text-right">{displayWtPriceWithCurrency price=$total_products currency=$currency}</td>
|
||||
</tr>
|
||||
{if $total_tourism_tax > 0}
|
||||
<tr>
|
||||
<td colspan="7">{l s='Tourism tax:'}</td>
|
||||
<td class="text-right">{displayWtPriceWithCurrency price=$total_tourism_tax currency=$currency}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $total_discounts != 0}
|
||||
<tr>
|
||||
<td colspan="7">{l s='Total value of vouchers:'}</td>
|
||||
|
||||
@@ -407,6 +407,7 @@ class AdminCartsControllerCore extends AdminController
|
||||
'total_discounts' => $total_discounts,
|
||||
'total_wrapping' => $total_wrapping,
|
||||
'total_price' => $total_price,
|
||||
'total_tourism_tax' => isset($summary['total_tourism_tax']) ? $summary['total_tourism_tax'] : 0,
|
||||
'total_shipping' => $total_shipping,
|
||||
'customized_datas' => $customized_datas,
|
||||
'tax_calculation_method' => $tax_calculation_method
|
||||
|
||||
Reference in New Issue
Block a user