From e88ea52e1e74dbd276b6e52775c8bd6ba3ef4d02 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Fri, 30 Jun 2023 15:30:19 +0800 Subject: [PATCH] update invoice amount --- resources/views/pages/pdfs/invoice.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/pages/pdfs/invoice.blade.php b/resources/views/pages/pdfs/invoice.blade.php index f92d4729..962177aa 100644 --- a/resources/views/pages/pdfs/invoice.blade.php +++ b/resources/views/pages/pdfs/invoice.blade.php @@ -175,7 +175,7 @@ Total @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($subtotal, 2) + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} @else {{ number_format($transaction->amount + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }}