update invoice amount

This commit is contained in:
edmondlang
2023-06-30 15:30:19 +08:00
parent 4c53457a13
commit e88ea52e1e
+1 -1
View File
@@ -175,7 +175,7 @@
<td class="right middle">Total</td>
<td class="total right middle">
@if($transaction->booking()->first()->fix_currency_id !== 1)
<!-- {{ number_format( ((1/$currency_rate) * $transaction->amount) + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} -->
{{-- {{ number_format( ((1/$currency_rate) * $transaction->amount) + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} --}}
{{ number_format($subtotal, 2) + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}
@else
{{ number_format($transaction->amount + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}