@extends('layouts.note_layout') @section('title', 'EndoCapture') @section('con-top') @endsection @section('style') @endsection @section('modal')
@endsection @section('content') @php $y=date('Y')-100; for($i=date('Y');$i>=$y;$i--){ $year[] =$i; } for($m=1;$m<=12;$m++){ $month[] = $m; } $id = $_GET['id']; $note = DB::table('tb_casenote')->where('note_id',$id)->first(); $json = jsonDecode($note->note_casejson); $patient = DB::table('patient')->where('hn',$json->hn)->first(); $json_patient = jsonDecode($patient->patient_json); @endphp