@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => ''])
List {{ $title_menu }}

{{-- --}} {{-- retrieve table detail --}} @php $no = 1; @endphp @foreach ($antrian as $ant) {{-- --}} @endforeach
NoID AntrianTanggal No Antrian NIK Nama Pemeriksa Status Action
{{ $no++ }}{{ $ant->idantrian }}{{ $ant->tgl }} {{ $ant->no_antri }} {{ $ant->nik }} {{ $ant->nama }} {{ $ant->nama_dokter }} @if ($ant->status == 'F') Finish @elseif ($ant->status == 'E') Entry @else Cancel @endif {{-- button view --}} {{-- check authorize edit --}} @if ($authorize->edit == '1') {{-- check status active --}} @if ($ant->status == 'E') {{-- button edit --}} @endif @endif @if ($authorize->print == '1') @endif {{-- button delete --}} @if ($authorize->delete == '1') @endif
@endsection @push('js') @endpush