@extends('pdf.pdf') @section('namereport','Discharge Report') @section('td') @endsection @section('detail_left') PROCEDURE :
{{@$casedata->procedure_name}}
Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in D:\laragon\htdocs\20231204\share\resources\views\EndoCAPTURE\pdf\pdf_discharge.blade.php on line 16
@foreach ($sub as $s)
- {{$s}} @endforeach
FOLLOWING GUIDE : @if(@$casedata->following_guide!="") {{@$casedata->following_guide}} @else None @endif

DISCHARGE TO : @if($casedata->discharge_name!="") {{$casedata->discharge_name}} @else None @endif

APPOINTMENT INFORMATION : @if(@$casedata->appointment_info!="") {{@$casedata->appointment_info}} @else None @endif

@endsection @section('detail_right') @php $im = imagecreatefromjpeg ('imgprocedure/'.$_GET['id'].'.jpg'); imagejpeg($im, 'pdf_pic/'.$_GET['id'].'.jpg'); $w[0] = array('photo_case',$_GET['id']); $w[1] = array('photo_status','!=',0); $sql = DB::table('photo')->where($w)->get(); $num=0; foreach($sql as $row) { $num++; $bg_path = 'pdf_pic/'.$_GET['id'].'.jpg'; $num_path = 'images/blue/blue_'.$num.'.png'; $image_1 = imagecreatefromjpeg ($bg_path); $image_2 = imagecreatefrompng($num_path); $data = getimagesize($bg_path); $xx = $data[0]*(($row->photo_x-3)/100); $yy = $data[1]*(($row->photo_y-3)/100); imagecopy($image_1, $image_2, $xx, $yy, 0, 0, 30, 30); imagejpeg($image_1, 'pdf_pic/'.$_GET['id'].'.jpg'); } @endphp @forelse ($photoselectonly as $p) @if($i==0)
@endif @if($i<=7)
Warning: Undefined variable $p in D:\laragon\htdocs\20231204\share\resources\views\EndoCAPTURE\pdf\pdf_discharge.blade.php on line 118

Warning: Attempt to read property "photo_status" on null in D:\laragon\htdocs\20231204\share\resources\views\EndoCAPTURE\pdf\pdf_discharge.blade.php on line 118

Fatal error: Uncaught Error: Call to undefined function picurl() in D:\laragon\htdocs\20231204\share\resources\views\EndoCAPTURE\pdf\pdf_discharge.blade.php:125 Stack trace: #0 {main} thrown in D:\laragon\htdocs\20231204\share\resources\views\EndoCAPTURE\pdf\pdf_discharge.blade.php on line 125