@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
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 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
@include('ipd/incsurgicalprescmodal') @include('ipd/incsurgicalprescmodal2')