@extends('layouts.app') @section('title', 'Pendaftaran Pasien Reguler - MCU Klinik Mustika') @section('breadcrumb')

Pendaftaran Pasien Reguler

Daftar pendaftaran pasien reguler untuk hari ini.

@endsection @section('content')
@canany (['create-regular-checkups', 'process-regular-checkups'])
@can ('process-regular-checkups') Worklist Pemeriksaan @endcan @can ('create-regular-checkups') Daftarkan Pasien @endcan
@endcanany
@include('partials.tables.filters', ['paginator' => $checkups, 'tableFilters' => ['sort', 'direction']]) @forelse ($checkups as $regularCheckup) @php($statusClass = [ 'registered' => 'bg-warning', 'in_progress' => 'bg-primary', 'completed' => 'bg-success', 'cancelled' => 'bg-danger' ][$regularCheckup->status] ?? 'bg-secondary') @empty @endforelse
No. @include('partials.tables.sort_link', ['column' => 'checkup_number', 'label' => 'Nomor']) @include('partials.tables.sort_link', ['column' => 'checkup_date', 'label' => 'Tanggal']) @include('partials.tables.sort_link', ['column' => 'name', 'label' => 'Pasien']) Keluhan Dokter Pemeriksa @include('partials.tables.sort_link', ['column' => 'status', 'label' => 'Status']) Aksi
{{ $checkups->firstItem() + $loop->index }} {{ $regularCheckup->checkup_number }} {{ \App\Helpers\DateHelper::formatShort( $regularCheckup->checkup_date, ) }}{{ $regularCheckup->checkup_time ? ' ' . $regularCheckup->checkup_time->format('H:i') : '' }}
{{ $regularCheckup->patient->name }}
{{ $regularCheckup->patient->medical_record_number ?: '-' }}
{{ \Illuminate\Support\Str::limit( \App\Helpers\QuillHelper::plainText($regularCheckup->chief_complaint) ?: '-', 80, ) }} {{ $regularCheckup->doctor?->name ?? '-' }} {{ $regularCheckup->statusLabel() }}
@can ('create-regular-checkups') @if ($regularCheckup->isRegistrationEditable()) @else @endif @endcan
Tidak ada data yang cocok dengan pencarian.
{{ $checkups->links('partials.tables.pagination') }}
@endsection