Merge remote-tracking branch 'composer/feature/senior-officer' into staging

# Conflicts:
#	resources/views/surveyor/components/tanah.blade.php
This commit is contained in:
Daeng Deni Mardaeni
2024-12-27 08:50:01 +07:00
12 changed files with 2841 additions and 1875 deletions

View File

@@ -14,12 +14,8 @@
@foreach ($permohonan->debiture->documents as $item)
@php
$luas = $item->detail;
if(is_array($luas)){
$details = json_decode($luas[0]->details, true);
$luas_tanah = isset($details['luas']) ? $details['luas'] : 'N/A';
} else {
$luas_tanah = 'N/A';
}
$details = json_decode($luas[0]->details, true);
$luas_tanah = isset($details['luas_tanah']) ? $details['luas_tanah'] : 'N/A';
@endphp
<input type="hidden" name="luas_tanah_sesuai" class="input" value="{{ $luas_tanah }}">
<p class="text-2sm text-gray-700">{{ $luas_tanah }} m<sup>2</sup></p>