@php($rtl = app()->getLocale() === 'ar')
| {{ __('Patient') }}: | {{ $plan->patient->full_name }} | {{ __('Phone') }}: | {{ $plan->patient->phone }} |
| {{ __('Dentist') }}: | {{ $plan->dentist->name }} | {{ __('Date') }}: | {{ $plan->created_at->format('Y-m-d') }} |
| {{ __('Status') }}: | {{ $plan->status->label() }} | {{ __('Plan no.') }}: | {{ strtoupper(substr($plan->uuid, 0, 8)) }} |
| # | {{ __('Procedure') }} | {{ __('Tooth') }} | {{ __('Surfaces') }} | {{ __('Status') }} | {{ __('Price (IQD)') }} |
|---|---|---|---|---|---|
| {{ $i + 1 }} | {{ $item->procedure->name() }}@if($item->note) — {{ $item->note }}@endif | {{ $item->tooth ?? '—' }} | {{ $item->surfaces ? implode(',', $item->surfaces) : '—' }} | {{ $item->status->label() }} | {{ number_format($item->price) }} |
| {{ __('Subtotal') }} | {{ number_format($plan->totalGross()) }} IQD |
| {{ __('Discount') }} | − {{ number_format($plan->discount_amount) }} IQD |
| {{ __('Total') }} | {{ number_format($plan->totalNet()) }} IQD |
{{ __('Notes') }}: {{ $plan->notes }}
@endif