Beranda Beranda Aplikasi {{ app_setting('APP_NAME', 'M-Klinik') }} @if(menu('klinik.core')) @if(menu('klinik.jadwal-pelayanan.core')) @endif @if(menu('klinik.buat-surat.core')) @endif @endif @if (menu('apotik.core') && count($drugs) > 0)

@foreach ($drugs as $drug)
[{{ $drug->code ?? '-' }}] {{ $drug->name ?? '-' }} {{ $drug->is_active ? 'Aktif' : 'Nonaktif' }}
{{ $drug->unit ?? '-' }}
{{ $drug->latestStock() ?? '-' }} / {{ $drug->minimal ?? '-' }}
@endforeach

@forelse ($controls as $c)
{{ optional($c->checkupPatient->patient)->name ?? '-' }} {{ $c->prescription_number }}
{{ $c->schedule_date->format('d-m-Y') }}
{{ $c->schedule_type }}
@empty

Tidak Ada Pasien

@endforelse
@endif
Total Kunjungan
Hari ini
{{ $totalKunjunganHari ?? '-' }}
Pasien BPJS
Total
{{ $pasienBPJS ?? '-' }}
Pasien Umum
Total
{{ $pasienUMUM ?? '-' }}
@if(menu('apotik.core'))
Total Kunjungan
Bulan ini
{{ $totalKunjungan ?? '-' }}
@endif

Pasien 10 Hari Terkahir

Riwayat Login

@foreach($login_history as $login)
{{ $login->name ?? '-' }} @if(is_online($login->id)) @else @endif
{{ $login->last_login_time->diffForHumans() ?? '-' }}
{{ $login->role ?? '-' }}
@endforeach
@push('scripts') @endpush