fix(penilai): perbaikkan luas tanah, bangunan, dan print out sederhana, dan rap

This commit is contained in:
majid
2025-03-11 13:15:51 +07:00
parent 727c7a0dca
commit ef7a47ebb9
8 changed files with 101 additions and 52 deletions

View File

@@ -14,10 +14,11 @@
@if (isset($permohonan->documents))
@foreach ($permohonan->documents as $item)
@php
// 27
$total_luas_tanah = 0;
$jenis_legalitas_jaminan_id = 0;
if (isset($item->detail)) {
$total_luas_tanah = calculateTotalLuas($item->detail, 'luas_tanah', 1);
$total_luas_tanah = calculateTotalLuas($item->detail, 'luas_tanah', 1, 27, 3);
}
@endphp
<input type="hidden" id="jenis_legalistas_jaminan_tanah_id"