@php $docFilesBase = collect([ ['slug' => 'pac', 'label' => 'PAC'], ['slug' => 'surgical-safety-checklist', 'label' => 'SSC'], ['slug' => 'cataractconsent', 'label' => 'CC1'], ['slug' => 'cataractconsent2', 'label' => 'CC2'], ]); $docButtonColors = ['btn-primary', 'btn-warning', 'btn-info', 'btn-secondary', 'btn-dark', 'btn-danger']; $pterygiumShortNames = $pterygiumShortNames ?? []; @endphp
|
||||
| OT LIST [ DATED : {{date("d/m/Y", strtotime(str_replace('-', '/',$ScheduleDate)))}} ] |
| Sr.No | Name | Eye | IOL Name | IOL Type | IOL Power | Cyl | Category | Package | GA | Advice | OT Notes | Special instruction | Print documents |
| {{$i}} | {{$result->PatientName}} - {{$result->MrdNo}} / {{$result->id}} |
{{$result->Eye}} | {{$result->IolName}} | {{$result->IolType}} | {{$result->IolPower}} | {{$result->Cyl}} | {{$result->Category}} | {{$result->Package}} | {{$result->Ga}} | {{$result->Advice}} | - | {{ $result->SpecialInstruction ?? '' }} |
@foreach($docFilesBase as $index => $docFile)
@endforeach
OT Notes
|
| {{$i2}} | {{$result2->PatientName}} - {{$result2->MrdNo}} / {{$result2->id}} |
{{$result2->Eye}} | {{$result2->IolName}} | {{$result2->IolType}} | {{$result2->IolPower}} | {{$result2->Cyl}} | {{$result2->Category}} | {{$result2->Package}} | {{$result2->Ga}} | {{$result2->Advice}} | Other | {{ $result2->SpecialInstruction ?? '' }} |
@foreach($docFilesBase as $index => $docFile)
@endforeach
@php
$pid = (int) ($result2->PterygiumId ?? 0);
$pterygiumByDefault = ($pid === 0);
$pcLabel = $pterygiumByDefault ? 'PC' : ($pterygiumShortNames[$pid] ?? 'PC');
@endphp
OT Notes
|