@php $rightto = DB::table('patient') ->leftjoin('dd_righttotreatment','dd_righttotreatment.id','patient.righttotreatment') ->where('patient.hn',$casedata->case_hn)->first(); $ward = "-"; $refer= "-"; if(isset($this_json->ward)){ if($this_json->ward != ''){ $ward = $this_json->ward; } } if(isset($this_json->refer)){ if($this_json->refer != ''){ $refer = $this_json->refer; } } @endphp
Treatment Coverage : {{$json->righttotreatment}} Date : {{swapDATE($casedata->case_dateappointment)}}     Ward : {{$ward}}
CONSULTANT : {{$doctor[2]}}@if($doctor[3]!=""),{{$doctor[3]}}@endif Start - End(min) : -
NURSE, ASSIST : {{$nurse[1]}} @if($nurse[2]!="") ,{{$nurse[2]}}@endif @if($nurse[3]!="") ,{{$nurse[3]}}@endif @if($nurse[4]!="")
{{$nurse[4]}}@endif
ENDOSCOPE : @foreach($scopeall as $scope) {{$scope}} @endforeach