@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
Vyawahare Netralaya & Eye Bank, Amravati
V.M.V Road, Rathi Nagar, Amravati | 0721-2664880 | Mob : 9370109647
OT LIST [ DATED : {{date("d/m/Y", strtotime(str_replace('-', '/',$ScheduleDate)))}} ]
@php $i=1;@endphp @if($cnt>0) @foreach($data as $result) @php $i++;@endphp @endforeach @endif @php $i2=$i;@endphp @if($cnt2>0) @foreach($data2 as $result2) @php $i2++;@endphp @endforeach @endif
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