@if (isset($settings['icon']) && is_file('storage/settings/' . $settings['icon']))
@endif
{{ $settings['website_name'] ?? '' }}
{{ $settings['address'] ?? '' }}
{{ $settings['number_1'] ?? '' }}, {{ $settings['number_2'] ?? '' }}
@if (isset($settings['icon']) && is_file('storage/settings/' . $settings['icon']))
@endif
Service Receipt
Patient No:
{{ $item?->appointment?->Patient?->patient_id ?? $item->pat?->patient_id }}
Patient Name:
{{ $item?->appointment?->Patient?->name ?? $item->pat?->name }}
date:
{{ \Carbon\Carbon::parse($item->date)->format('d M, Y') }}
Receipt_no:
{{ $item->service_number }}
| # | Service | Description | Qty | Rate | Amount |
|---|---|---|---|---|---|
| {{ $counter++ }} | Service charges | @php $qty = (float) ($rw?->quantity ?: 1); $amount = (float) $rw?->rate * $qty; $total += $amount; @endphp{{ $rw?->srv_type?->name }} | {{ $qty + 0 }} | {{ number_format((float) $rw?->rate, 2) }} | {{ number_format($amount, 2) }} |
| Total | {{ number_format($total, 2) }} | ||||
Discount :
{{ number_format($item->pmt?->sum('discount'), 2) }}
Promotion :
{{ number_format($item->pmt?->sum('promotion'), 2) }}
Paid :
{{ number_format($item?->pmt?->sum('payment'), 2) }}