@if (isset($settings['icon']) && is_file('storage/settings/' . $settings['icon']))
@endif
{{ $settings['website_name'] ?? '' }}
{{ $settings['address'] ?? '' }}
{{ $settings['number_1'] ?? '' }}, {{ $settings['number_2'] ?? '' }}
Image 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:
Img_{{ str_pad($item->request_no, 6, '0', STR_PAD_LEFT) }}
Payment status:
{{ $item->payment_status }}
| # | Service | Description | {{--Amount | --}}
|---|---|---|---|
| 1 | Imaging charges | {{ $item->LabType->name }} | {{--{{ $item?->price }} | --}}
| Total | {{ $item?->price }} | ||
@foreach ($rs['resultcomponent']['routine'] as $comp)
@endif
@endforeach --}}
{{ $comp['routine_name'] }}
@php
$total += $comp['routine_price'];
@endphp
@endforeach
| # | Service |
|---|---|
| {{ $i + 1 }} | {{ $rs['routine_name'] }} |
@foreach ($result['routine'] as $rs)
@if (count($rs['resultcomponent']['routine']) > 0)
@php
$total += $rs['resultcomponent']['price'];
@endphp
@endif
{{--
@foreach ($rs['resultcomponent']['routine'] as $comp)
@endif
@endforeach
{{ $comp['routine_name'] }}
@php
$total += $comp['routine_price'];
@endphp
@endforeach
| # | Service | Description | Amount |
|---|---|---|---|
| 1 | Service charges | {{ $item?->srv?->name }} | {{ $item?->rate }} |
| Total | {{ $item?->rate }} | ||
Amount :
{{ $item?->pmt?->curr?->symbol }}
{{ $item?->pmt?->currency == 1 ? number_format($total, 2) : number_format($item?->pmt?->exchange_rate * $total, 2) }}
Discount :
{{ $item?->pmt?->curr?->symbol }}
{{ number_format($item?->pmt->discount, 2) }}
Promotion :
{{ $item?->pmt?->curr?->symbol }}
{{ number_format($item?->pmt?->promotion, 2) }}
Paid :
{{ $item?->pmt?->curr?->symbol }}
{{ number_format($item->pmt?->payment, 2) }}