From efba1aa95377925296c9de2a3cd61d13fe44f1a7 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Sun, 22 Dec 2024 20:51:00 +0700 Subject: [PATCH] Perbaiki tampilan status pada history permohonan - Menghilangkan baris kosong yang tidak perlu pada blok kode case 'order'. - Menambahkan fungsi `str_replace` untuk mengganti tanda strip (-) dengan spasi pada tampilan status aktivitas. - Meningkatkan keterbacaan status aktivitas pada komponen history permohonan. --- resources/views/component/history-permohonan.blade.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/views/component/history-permohonan.blade.php b/resources/views/component/history-permohonan.blade.php index 85ed489..f0c1063 100644 --- a/resources/views/component/history-permohonan.blade.php +++ b/resources/views/component/history-permohonan.blade.php @@ -29,7 +29,6 @@ @case('order') @break - @case('revisi') @break @@ -59,7 +58,7 @@ @endswitch
- {{ $activity->status }} + {{ str_replace('-',' ',$activity->status) }}

{{ $activity->keterangan }}

{{ $activity->created_by ? $activity->creator->name : 'System' }}