@unless ($hasCompletePharmacistIdentity) @endunless
@if ($companyProfile->logo_path)
@endif
{{ $companyProfile->name ?: config('modules.pharmacy_settings.name') }}
@if ($companyProfile->address)
{!! nl2br(e($companyProfile->address)) !!}
@endif
@if ($companyProfile->phone_number) Telp. {{ $companyProfile->phone_number }} @endif @if ($companyProfile->email) {{ $companyProfile->phone_number ? ' · ' : '' }}{{ $companyProfile->email }} @endif
Salinan Resep
R/
    @foreach ($prescription->items as $item)
  1. {{ $item->drug->name }} {{ number_format($item->quantity, 0, ',', '.') }} {{ $item->drug->unit?->abbreviation ?: $item->drug->unit?->name ?? 'unit' }}
    @if ($item->dosage || $item->frequency || $item->duration_days)
    {{ collect([ $item->dosage ? 'Dosis ' . $item->dosage : null, $item->frequency ? 'Frekuensi ' . $item->frequency : null, $item->duration_days ? 'Durasi ' . $item->duration_days . ' hari' : null, ]) ->filter() ->implode(' · ') }}
    @endif @if ($item->instructions)
    Aturan pakai: {{ $item->instructions }}
    @endif @if ($item->notes)
    Catatan: {{ $item->notes }}
    @endif
  2. @endforeach
@if ($prescription->notes)
Catatan resep: {!! \App\Helpers\QuillHelper::displayHtml( $prescription->notes, ) !!}
@endif