perbaikan update data lpj standar dan sederhana

This commit is contained in:
majid
2025-01-13 06:20:16 +07:00
parent 6289a752e0
commit 8db7e5d654
2 changed files with 21 additions and 6 deletions

View File

@@ -13,13 +13,13 @@
@if (isset($permohonan->debiture->documents))
@foreach ($permohonan->debiture->documents as $item)
@php
$luas_tanah = 'N/A';
$luas_tanah = 'N/A';
if ($item->detail) {
foreach ($item->detail as $luas) {
if (isset($luas->name) && $luas->name === 'Sertifikat') {
$details = json_decode($luas->details, true);
$details = json_decode($luas->details, true);
$luas_tanah = isset($details['luas_tanah']) ? $details['luas_tanah'] : 'N/A';
break;
break;
}
}
}
@@ -63,6 +63,7 @@
</div>
<!-- Hadap Mata Angin -->
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<input type="hidden" name="hadap_mata_angin_sesuai" class="input" value="sesuai">
<label class="form-label max-w-56">Hadap Mata Angin</label>
<div class="mt-2">
<div class="flex-wrap items-stretch">