@php $regularCheckup = $regularCheckup ?? null; $lockRegistrationSchedule = $lockRegistrationSchedule ?? false; $registrationDate = $lockRegistrationSchedule ? (string) $regularCheckup?->checkup_date : old('checkup_date', today()->toDateString()); $registrationTime = $lockRegistrationSchedule ? $regularCheckup?->checkup_time?->format('H:i') ?? '' : old('checkup_time', now()->format('H:i')); @endphp
Informasi Pendaftaran
{{ $lockRegistrationSchedule ? 'Tanggal dan jam pendaftaran ditampilkan sebagai informasi dan tidak dapat diubah.' : 'Tetapkan waktu kunjungan dan keluhan awal pasien.' }}
@if (!$lockRegistrationSchedule) Menunggu pasien @endif
@error ('checkup_date')
{{ $message }}
@enderror
@error ('checkup_time')
{{ $message }}
@enderror
@error ('chief_complaint')
{{ $message }}
@enderror