From 33cbf385e634d5ce232e39bdfa10b22b3f3b0234 Mon Sep 17 00:00:00 2001 From: Daeng Deni Mardaeni Date: Thu, 30 Jan 2025 21:19:05 +0700 Subject: [PATCH] fix(dokumen): perbaiki pengambilan nama custom field - Mengubah cara pengambilan nama custom field dari objek JSON. - Memastikan nilai input terisi dengan benar berdasarkan nama custom field. --- resources/views/debitur/components/dokumen.blade.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/resources/views/debitur/components/dokumen.blade.php b/resources/views/debitur/components/dokumen.blade.php index 6db183c..e76da06 100644 --- a/resources/views/debitur/components/dokumen.blade.php +++ b/resources/views/debitur/components/dokumen.blade.php @@ -315,14 +315,13 @@ @if($detail->details) @if($detail->jenisLegalitasJaminan->custom_fields) - @php $custom_field = json_decode($detail->details) @endphp - @foreach($custom_field as $key => $value) + @foreach($detail->jenisLegalitasJaminan->custom_fields as $key)
- +
@endforeach