{{-- resources/views/invoices/show.blade.php --}}

ইনভয়েস — {{ $invoice->invoice_no }}

{{-- invoices/show.blade.php এর header-এ যোগ করুন --}} PDF ডাউনলোড
@if (session('success'))
{{ session('success') }}
@endif

City General Hospital

ঠিকানা, ফোন নম্বর, ইমেইল

ইনভয়েস নং: {{ $invoice->invoice_no }}

তারিখ: {{ $invoice->invoice_date->format('d M, Y') }}

রোগী: {{ $invoice->patient->name }} ({{ $invoice->patient->patient_id }})

ফোন: {{ $invoice->patient->phone }}

@foreach ($invoice->items as $item) @endforeach
বিবরণ পরিমাণ দাম মোট
{{ $item->description }} {{ $item->quantity }} ৳{{ number_format($item->unit_price, 2) }} ৳{{ number_format($item->total, 2) }}

সাবটোটাল: ৳{{ number_format($invoice->subtotal, 2) }}

ডিসকাউন্ট: ৳{{ number_format($invoice->discount, 2) }}

সর্বমোট: ৳{{ number_format($invoice->total_amount, 2) }}

পরিশোধিত: ৳{{ number_format($invoice->paid_amount, 2) }}

বাকি: ৳{{ number_format($invoice->due_amount, 2) }}

@if ($invoice->due_amount > 0)

পেমেন্ট গ্রহণ করুন

@csrf
@endif @if ($invoice->payments->count())

পেমেন্ট হিস্টোরি

@foreach ($invoice->payments as $p) @endforeach
তারিখ পরিমাণ মাধ্যম গ্রহণকারী
{{ $p->paid_at->format('d M, Y') }} ৳{{ number_format($p->amount, 2) }} {{ ucfirst(str_replace('_',' ',$p->method)) }} {{ $p->receiver->name ?? '—' }}
@endif তালিকায় ফিরুন