@php($rtl = app()->getLocale() === 'ar')
| {{ __('Patient') }}: | {{ $invoice->patient->full_name }} | {{ __('Phone') }}: | {{ $invoice->patient->phone }} |
| {{ __('Date') }}: | {{ ($invoice->issued_at ?? $invoice->created_at)->format('Y-m-d') }} | {{ __('Status') }}: | {{ $invoice->status->label() }} |
| # | {{ __('Description') }} | {{ __('Tooth') }} | {{ __('Qty') }} | {{ __('Amount (IQD)') }} |
|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->description }} | {{ $item->tooth ?? '—' }} | {{ $item->qty }} | {{ number_format($item->amount) }} |
| {{ __('Subtotal') }} | {{ number_format($invoice->subtotal) }} IQD |
| {{ __('Discount') }} | − {{ number_format($invoice->discount_amount) }} IQD |
| {{ __('Total') }} | {{ number_format($invoice->total) }} IQD |
| {{ __('Paid') }} | {{ number_format($invoice->paid_amount) }} IQD |
| {{ __('Remaining') }} | {{ number_format($invoice->remaining()) }} IQD |
| # | {{ __('Due date') }} | {{ __('Amount') }} | {{ __('Paid') }} | {{ __('Status') }} |
|---|---|---|---|---|
| {{ $inst->seq === 0 ? __('Down') : $inst->seq }} | {{ $inst->due_date->format('Y-m-d') }} | {{ number_format($inst->amount) }} | {{ number_format($inst->paid_amount) }} | {{ $inst->status->label() }} |
{{ __('Notes') }}: {{ $invoice->notes }}
@endif