diff --git a/resources/views/pages/pdfs/invoice.blade.php b/resources/views/pages/pdfs/invoice.blade.php index 5851909f..1a12df38 100644 --- a/resources/views/pages/pdfs/invoice.blade.php +++ b/resources/views/pages/pdfs/invoice.blade.php @@ -175,10 +175,7 @@ Total @if($transaction->booking()->first()->fix_currency_id !== 1) - @php - $rounded_subtotal = number_format($subtotal, 2); - @endphp - {{ number_format($rounded_subtotal + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} + {{ number_format($subtotal + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} @else {{ number_format($transaction->amount + $transaction->service_charge + $transaction->tax + $voucher_discount, 2) }} @endif