update
This commit is contained in:
@@ -112,10 +112,26 @@
|
||||
<div class="card-body">
|
||||
<div class="d-flex justify-content-between align-items-center mb-3">
|
||||
<h5 class="card-title mb-0">Riwayat Nilai Kritis Yang Sudah Ditindaklanjuti</h5>
|
||||
<a href="{{ route('criticalValueNotificationExport', ['type' => 'followed']) }}" class="btn btn-success btn-sm">
|
||||
<a href="{{ route('criticalValueNotificationExport', ['type' => 'followed', 'start_date' => $startDate, 'end_date' => $endDate]) }}" class="btn btn-success btn-sm">
|
||||
Export Excel
|
||||
</a>
|
||||
</div>
|
||||
<form method="GET" action="{{ route('criticalValueNotifications') }}" class="mb-3">
|
||||
<div class="form-row align-items-end">
|
||||
<div class="form-group col-md-3">
|
||||
<label for="start_date">Start Date Report</label>
|
||||
<input type="date" id="start_date" name="start_date" class="form-control" value="{{ $startDate }}">
|
||||
</div>
|
||||
<div class="form-group col-md-3">
|
||||
<label for="end_date">End Date Report</label>
|
||||
<input type="date" id="end_date" name="end_date" class="form-control" value="{{ $endDate }}">
|
||||
</div>
|
||||
<div class="form-group col-md-6">
|
||||
<button type="submit" class="btn btn-primary btn-sm">Tampilkan</button>
|
||||
<a href="{{ route('criticalValueNotifications') }}" class="btn btn-secondary btn-sm">Reset</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
@if($followedItems->isEmpty())
|
||||
<div class="alert alert-secondary mb-0">Belum ada riwayat tindak lanjut.</div>
|
||||
@else
|
||||
@@ -131,6 +147,8 @@
|
||||
<th>Spesimen</th>
|
||||
<th>Waktu Set Nilai Kritis</th>
|
||||
<th>Waktu Ditindaklanjuti</th>
|
||||
<th>Selisih Waktu</th>
|
||||
<th>Status TAT</th>
|
||||
<th>Aksi</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -155,6 +173,16 @@
|
||||
<br><small>oleh {{ $item->followed_up_by_name }}</small>
|
||||
@endif
|
||||
</td>
|
||||
<td>{{ $item->tat_duration_label ?? '-' }}</td>
|
||||
<td>
|
||||
@if(($item->tat_status_label ?? '-') === 'Memenuhi TAT')
|
||||
<span class="badge badge-success">{{ $item->tat_status_label }}</span>
|
||||
@elseif(($item->tat_status_label ?? '-') === 'Tidak Memenuhi TAT')
|
||||
<span class="badge badge-danger">{{ $item->tat_status_label }}</span>
|
||||
@else
|
||||
<span class="badge badge-secondary">-</span>
|
||||
@endif
|
||||
</td>
|
||||
<td>
|
||||
@php
|
||||
$status = $item->follow_up_status ?? '';
|
||||
|
||||
Reference in New Issue
Block a user