fix(penawaran): ubah nilai awal luas tanah dan bangunan menjadi string kosong

- Mengubah nilai awal dari `null` menjadi string kosong (`""`) pada beberapa file.
- Memastikan konsistensi dalam penanganan data saat memproses detail dokumen.
- Meningkatkan kejelasan dan menghindari potensi kesalahan saat memanipulasi data.
This commit is contained in:
Daeng Deni Mardaeni
2025-03-10 07:39:39 +07:00
parent b2a4aca049
commit c572f061e3
6 changed files with 6 additions and 6 deletions

View File

@@ -126,7 +126,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')

View File

@@ -128,7 +128,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')

View File

@@ -111,7 +111,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')

View File

@@ -126,7 +126,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')

View File

@@ -109,7 +109,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')

View File

@@ -128,7 +128,7 @@
@foreach ($permohonan->documents as $document)
@foreach ($document->detail as $index => $detail)
@if($detail->details)
@php $luastanah = $luasbangunan = null; @endphp
@php $luastanah = $luasbangunan = ""; @endphp
@foreach (json_decode($detail->details) as $key => $value)
@foreach($value as $k => $v)
@if($k=='luas_tanah')