update
This commit is contained in:
@@ -18,6 +18,13 @@
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if (session('error'))
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="alert alert-danger">{{ session('error') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
@@ -36,6 +43,7 @@
|
||||
<th>No Foto</th>
|
||||
<th>No Register</th>
|
||||
<th>Pasien</th>
|
||||
<th>Asal Pasien</th>
|
||||
<th>Spesimen</th>
|
||||
<th>Waktu Set Nilai Kritis</th>
|
||||
<th>Waktu Ditindaklanjuti</th>
|
||||
@@ -49,6 +57,7 @@
|
||||
<td>{{ $item->nofoto ?? '-' }}</td>
|
||||
<td>{{ $item->noregister ?? '-' }}</td>
|
||||
<td>{{ $item->nmpasien ?? '-' }}</td>
|
||||
<td>{{ $item->asalpasien ?? '-' }}</td>
|
||||
<td>{{ $item->nm_spesimen ?? '-' }}</td>
|
||||
<td>
|
||||
{{ $item->critical_set_at ? \Carbon\Carbon::parse($item->critical_set_at)->format('d-m-Y H:i:s') : '-' }}
|
||||
@@ -60,6 +69,24 @@
|
||||
<td>
|
||||
<form action="{{ route('criticalValueNotificationMarkRead', $item->id) }}" method="POST" class="mb-0">
|
||||
@csrf
|
||||
<div class="form-group">
|
||||
<label for="caratindaklanjut" class="col-form-label">Melalui <font color="red">*</font></label>
|
||||
<select class="form-control" id="caratindaklanjut" name="caratindaklanjut">
|
||||
<option value="">Belum di Laporkan</option>
|
||||
<option value="Telpon">Telpon</option>
|
||||
<option value="Whatshap">Whatshap</option>
|
||||
<option value="Email">Email</option>
|
||||
<option value="Ketemu di Jalan">Ketemu di Jalan</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="penerima_laporan" class="col-form-label">Penerima Laporan <font color="red">*</font></label>
|
||||
<input type="text" id="penerima_laporan" name="penerima_laporan" class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="alasan_belum_laporkan" class="col-form-label">Alasan Belum di Laporkan <font color="red">*</font></label>
|
||||
<input type="text" id="alasan_belum_laporkan" name="alasan_belum_laporkan" class="form-control" placeholder="Isi jika belum di laporkan (Meninggal / Pindah Rumah Sakit / dll)">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-sm btn-warning">Mark as Read</button>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
@@ -0,0 +1,25 @@
|
||||
<div class="dropdown-item noti-title">
|
||||
<h5 class="m-0">
|
||||
<span class="float-right">
|
||||
<a href="{{ route('criticalValueNotifications') }}" class="text-dark"><small>Lihat Semua</small></a>
|
||||
</span>
|
||||
Nilai Kritis
|
||||
</h5>
|
||||
</div>
|
||||
<div style="max-height: 320px; overflow-y: auto;">
|
||||
@if(($items ?? collect())->isEmpty())
|
||||
<div class="dropdown-item text-muted">Tidak ada sample nilai kritis yang perlu dilaporkan.</div>
|
||||
@else
|
||||
@foreach($items as $criticalItem)
|
||||
<a href="{{ route('criticalValueNotificationOpen', $criticalItem->id) }}" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-warning"><i class="fa fa-exclamation-triangle"></i></div>
|
||||
<p class="notify-details">
|
||||
{{ $criticalItem->nofoto ?? '-' }} - {{ $criticalItem->nmpasien ?? 'Tanpa Nama' }}
|
||||
<small class="text-muted">
|
||||
Set: {{ $criticalItem->critical_set_at ? \Carbon\Carbon::parse($criticalItem->critical_set_at)->format('d-m-Y H:i:s') : '-' }}
|
||||
</small>
|
||||
</p>
|
||||
</a>
|
||||
@endforeach
|
||||
@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user