@include('lpj::surveyor.components.header')

Analisa Tanah

@if (isset($permohonan->debiture->documents)) @foreach ($permohonan->debiture->documents as $item) @php $luas = $item->detail; $details = json_decode($luas[0]->details, true); $luas_tanah = isset($details['luas_tanah']) ? $details['luas_tanah'] : 'N/A'; @endphp

{{ $luas_tanah }} m2

@endforeach @endif
@if (isset($permohonan->debiture->documents)) @foreach ($permohonan->debiture->documents as $item) @php $luas = $item->detail; $details = json_decode($luas[0]->details, true); $hadap_mata_angin = isset($details['hadap_mata_angin']) ? $details['hadap_mata_angin'] : 'N/A'; @endphp

{{ $hadap_mata_angin }} m2

@endforeach @endif
{{-- --}}
@if (isset($bentukTanah)) @foreach ($bentukTanah as $item)
@if (strcasecmp($item->name, 'lainnya') == 0) @endif
@endforeach @endif
@if (isset($konturTanah)) @foreach ($konturTanah as $item) @endforeach @endif
@if (isset($ketinggianTanah)) @foreach ($ketinggianTanah as $item)
@if (strcasecmp($item->name, 'Lebih Tinggi') == 0) @elseif (strcasecmp($item->name, 'Lebih Rendah') == 0) @endif
@endforeach @endif
@if (isset($posisiKavling)) @foreach ($posisiKavling as $item)
@if (strcasecmp($item->name, 'Lainnya') == 0) @endif
@endforeach @endif
@if (isset($kondisiFisikTanah)) @foreach ($kondisiFisikTanah as $item) @if (strcasecmp($item->name, 'lainnya') == 0)
@endif @endforeach @endif