@php $docFiles = collect([ ['slug' => 'admissionfromnikhil', 'label' => 'AF'], ['slug' => 'pac', 'label' => 'PAC'], ['slug' => 'surgical-safety-checklist', 'label' => 'SSC'], ['slug' => 'cataractconsent', 'label' => 'CC'], ['slug' => 'ptyrygieum', 'label' => 'PC'], ]); $docButtonColors = ['btn-primary', 'btn-warning', 'btn-info', 'btn-secondary', 'btn-dark']; $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 | Postpone | 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 ?? '' }} | PostPone ?? 0) === 1 ? 'checked' : '' }} onchange="otListSetPostpone({{ (int) $result->id }}, this.checked, this)"> |
@foreach($docFiles 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 ?? '' }} | PostPone ?? 0) === 1 ? 'checked' : '' }} onchange="otListSetPostpone({{ (int) $result2->id }}, this.checked, this)"> |
@foreach($docFiles as $index => $docFile)
@if($docFile['slug'] === 'ptyrygieum')
@php
$pid = (int) ($result2->PterygiumId ?? 0);
$pterygiumByDefault = ($pid === 0);
$pcLabel = $pterygiumByDefault ? 'PC' : ($pterygiumShortNames[$pid] ?? 'PC');
@endphp
@else
@endif
@endforeach
OT Notes
|