{{-- Flash Messages from Controller --}}
@if (session('flash_error'))
{{ session('flash_error') }}
@endif
@if (session('success'))
{{ session('success') }}
@endif
{{-- Legacy Variables Support --}}
@if (!empty($success_message))
{{ $success_message }}
@endif
@if (!empty($cancel_message))
{{ $cancel_message }}
@endif
{{-- Payment Section (Only show if Unpaid) --}}
@if ($invoice->status == 'Unpaid')
{{-- Payment Link Trigger --}}
Pay Now
@endif
Invoiced To
{{ $invoice->user->first_name . ' ' . $invoice->user->last_name }}
@if($invoice->user->company_name) {{ $invoice->user->company_name }}
@endif
{!! nl2br(e($invoice->user->address)) !!}
Pay To
SecureSoftPay
Aziz Super Market, Mirpur-13,
Dhaka 1216, Bangladesh
| Description | Amount |
@foreach ($items as $item)
| {{ $item->description }} |
TK {{ number_format($item->amount, 2) }} BDT |
@endforeach
| Sub Total | TK {{ number_format($invoice->total_amount, 2) }} BDT |
| Total | TK {{ number_format($invoice->total_amount, 2) }} BDT |
Transactions
| Transaction Date | Gateway | Transaction ID | Amount |
@if (!empty($invoice->transaction_ref))
|
{{ $invoice->paid_at ? \Carbon\Carbon::parse($invoice->paid_at)->format('d/m/Y') : date('d/m/Y') }}
|
{{ $invoice->payment_method ?? 'SecureSoftPay Gateway' }} |
{{ $invoice->transaction_ref }} |
TK {{ number_format($invoice->total_amount, 2) }} BDT |
@else
| No Related Transactions Found |
@endif