@extends('layouts.layout_booking_mobile') @section('title', 'EndoCapture') @section('style') @endsection @section('modal') @endsection @section('content')
@method('POST') @csrf

@method('GET') @csrf

Users

@foreach ($users as $us) @php $wd[0]=array('book_user',$us->id); $wd[1]=array('book_doctor','!=',null); $wd[2]=array('book_status',0); $doctor = DB::table('tb_booking')->where($wd)->get(); $wr[0]=array('book_user',$us->id); $wr[1]=array('book_room','!=',null); $wr[2]=array('book_status',0); $room = DB::table('tb_booking')->where($wr)->get(); $wp[0]=array('book_user',$us->id); $wp[1]=array('book_procedure','!=',null); $wp[2]=array('book_status',0); $procedure = DB::table('tb_booking')->where($wp)->get(); @endphp
@method('PUT') @csrf

Username

Password

Edit

Doctor

@method('POST') @csrf
@foreach ($doctor as $dt) @php $name_doc = DB::table('tb_bookdoctor')->where('bookdoctor_id',$dt->book_doctor)->first(); @endphp @endforeach

Room

@method('POST') @csrf
{{-- data-jscolor="{}" --}}
@foreach ($room as $rm) @php $name_room = DB::table('tb_bookroom')->where('bookroom_id',$rm->book_room)->first(); @endphp @endforeach
{{-- data-jscolor="{}" --}}

Procedure

@method('POST') @csrf
@foreach ($procedure as $pcd) @php $name_procedure = DB::table('tb_bookprocedure')->where('bookprocedure_code',$pcd->book_procedure)->first(); @endphp @endforeach
@endforeach
@endsection @section('script') @endsection