@php $view['doctor'] = $doctor; $view['procedure'] = $procedure; $view['config'] = $config; $view['holiday'] = $holiday; // $view['case_calendar'] = $case_calendar; @endphp @extends('layouts.app') @section('title', 'EndoCapture') @section('style') @endsection @section('modal') @include('EndoCAPTURE.home.component.modal_hisdetail') @include('EndoCAPTURE.home.component.modal_barcode') @include('EndoCAPTURE.home.component.modal_holiday') @include('EndoCAPTURE.home.component.modal_rapid') @include('EndoCAPTURE.home.component.modal_worklist_wait') @include('EndoCAPTURE.home.component.modal_worklist') @endsection @section('content') @php $admin['controllername'] = "endocapture/homecontroller"; $admin['viewname'] = "home/index.blade.php"; cardADMIN($admin); @endphp
@if (in_array(Auth::user()->user_type, ['admin']))

ท่านกำลังอยู่ในโหมด admin

@endif
@if (Auth::user()->user_type != 'doctor') @endif @if (Auth::user()->user_type != 'doctor') @endif
  # Status HN Patient Name AgeDoctorProcedure Room Date Manage
@csrf
@foreach ($book as $b) @php $json_book = json_decode($b->book_appoint); $i++; @endphp @endforeach
# HN Patient name Gender Age OPERATION SURGEON Create
Booking
{{@$i}} {{@$json_book->HN}} {{@$json_book->PTNAME}} {{@$json_book->MALE}} {{@$json_book->AGE}} {{@$json_book->OPERATION}} {{@$json_book->SURGEON}}
HIS
NO Data
@endsection @section('script') @endsection