{{ $settings->invoice_address ?: ($appointment?->chamber?->address ?? '') }}
{{ __('invoice.number') }}: {{ $invoice->invoice_no }}
{{ __('appointment.date') }}: {{ \App\Helpers\BanglaNumber::date($invoice->created_at, 'd/m/Y') }}
{{ __('patient.name') }}: {{ $patient->name }}
{{ __('patient.phone') }}: {{ $patient->phone }}
| {{ __('invoice.description') }} | {{ __('invoice.quantity') }} | {{ __('invoice.amount') }} | {{ __('invoice.total') }} |
|---|---|---|---|
| {{ $item['description'] ?? '-' }} | {{ \App\Helpers\BanglaNumber::convert($item['quantity'] ?? 1) }} | {{ \App\Helpers\BanglaNumber::currency((float) ($item['amount'] ?? 0)) }} | {{ \App\Helpers\BanglaNumber::currency(((float) ($item['amount'] ?? 0)) * ((float) ($item['quantity'] ?? 1))) }} |
| {{ __('invoice.subtotal') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->subtotal) }} |
| {{ __('invoice.discount') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->discount) }} |
| {{ __('invoice.tax') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->tax) }} |
| {{ __('invoice.total') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->total_amount) }} |
| {{ __('invoice.paid_amount') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->paid_amount) }} |
| {{ __('invoice.due_amount') }} | {{ \App\Helpers\BanglaNumber::currency((float) $invoice->due_amount) }} |
{{ $settings->invoice_footer }}
@endif