mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-22 22:13:59 +00:00
fix generate invoice
This commit is contained in:
@@ -175,7 +175,10 @@
|
||||
<td class="right middle">Total</td>
|
||||
<td class="total right middle">
|
||||
@if($transaction->booking()->first()->fix_currency_id !== 1)
|
||||
{{ number_format( number_format($subtotal, 2) + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}
|
||||
@php
|
||||
$rounded_subtotal = number_format($subtotal, 2);
|
||||
@endphp
|
||||
{{ number_format($rounded_subtotal + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}
|
||||
@else
|
||||
{{ number_format($transaction->amount + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user