@switch ($this->tab)
@case (1)
|
|
Data Pasien |
Catatan |
Sampel |
Konfirmasi |
@if ($selectPage)
|
@unless ($selectAll)
Anda telah memilih {{ $patient_labs->count() }} sampel, apakah Anda mau memilih semua {{ $patient_labs->total() }} sampel?
@else
Anda sekarang memilih semua {{ $patient_labs->total() }} sampel.
@endif
|
@endif
@forelse ($patient_labs as $patient_lab)
|
|
| Rekam Medis | : |
{{ optional($patient_lab->patient)->medical_record_number ?? '-' }} |
| Nama | : |
{{ optional($patient_lab->patient)->name ?? '-' }}
|
| Tanggal Lahir | : |
{{ optional($patient_lab->patient->birthday)->format('d/m/Y') ?? '-' }} ({{ optional($patient_lab->patient)->age ?? '-' }}) |
| Nomor Registrasi | : |
{{ $patient_lab->queueLab->registration_number ?? '-' }} |
|
{{ $patient_lab->queueLab->note ?? '-' }}
|
@foreach ($patient_lab->specimen as $specimen)
@livewire('laboratory.recieve-sample.partial.input', [
'id' => $specimen->id,
'lab_id' => $patient_lab->id,
'sample' => $specimen->sample,
'collection_time' => $specimen->collection_time,
'action' => 'create'
], key('create-' . $specimen->id))
@endforeach
@empty
@endforelse
{{ $patient_labs->links() }}
@break
@case (2)
|
|
Data Pasien |
Catatan |
Sampel |
Konfirmasi |
@if ($selectPage)
|
@unless ($selectAll)
Anda telah memilih {{ $patient_labs->count() }} sampel, apakah Anda mau memilih semua {{ $patient_labs->total() }} sampel?
@else
Anda sekarang memilih semua {{ $patient_labs->total() }} sampel.
@endif
|
@endif
@forelse ($confirmed_patient_labs as $patient_lab)
|
|
| Rekam Medis | : |
{{ optional($patient_lab->patient)->medical_record_number ?? '-' }} |
| Nama | : |
{{ optional($patient_lab->patient)->name ?? '-' }}
|
| Tanggal Lahir | : |
{{ optional($patient_lab->patient->birthday)->format('d/m/Y') ?? '-' }} ({{ optional($patient_lab->patient)->age ?? '-' }}) |
| Nomor Registrasi | : |
{{ $patient_lab->queueLab->registration_number ?? '-' }} |
|
{{ $patient_lab->queueLab->note ?? '-' }}
|
@foreach ($patient_lab->specimen as $specimen)
@livewire('laboratory.recieve-sample.partial.input', [
'id' => $specimen->id,
'lab_id' => $patient_lab->id,
'sample' => $specimen->sample,
'collection_time' => $specimen->collection_time,
'action' => 'edit'
], key('edit-' . $specimen->id))
@endforeach
@empty
@endforelse
{{ $patient_labs->links() }}
@break
@endswitch