@php $w[] = array('queue_hn',$_GET['hn']); $w[] = array('queue_datetime','like',date("Y-m-d")."%"); $queue = DB::table('tb_demoqueue')->where($w)->get(); @endphp
{{ $queue[0]->queue_fullname }}
{{ $queue[0]->queue_hn }}
@forelse($queue as $q)
{{ $q->queue_procedure }}
@if ($q->queue_status == 'รอคิว')
@endif @if ($q->queue_status == 'กำลังส่องกล้อง')
@endif @if ($q->queue_status == 'รอพักฟื้น')
@endif
รอคิว
กำลังส่องกล้อง
พักฟื้น
@empty
ไม่พบข้อมูล
@endforelse