|
- {{ $details->jenisLegalitasJaminan->name ?? '' }}
+ {{ $details->jenisLegalitasJaminan->name ?? '' }}
|
: |
@@ -690,10 +700,6 @@
@endif
@endif
@endforeach
-
-
-
-
|
@@ -846,15 +852,10 @@
$exportData = [];
if (isset($dataPembanding['data_pembanding'])) {
foreach ($dataPembanding['data_pembanding'] as $index => $pembanding) {
- if ($index == 0) {
- $exportData['pembanding1'] = $pembanding;
- } elseif ($index == 1) {
- $exportData['pembanding2'] = $pembanding;
- } elseif ($index == 2) {
- $exportData['pembanding3'] = $pembanding;
- }
+ $exportData['pembanding' . ($index + 1)] = $pembanding;
}
}
+
$fields = [
'nama_nara_sumber' => 'Marketing',
'nomor_tlp' => 'No Telepon',
@@ -866,10 +867,13 @@
'harga_diskon' => 'Indikasi Harga Transaksi',
];
@endphp
- @foreach (['pembanding1', 'pembanding2', 'pembanding3'] as $index => $pembanding)
-
+
+ @foreach ($exportData as $index => $data)
+
- | Pembanding {{ $index + 1 }} |
+
+ Pembanding {{ substr($index, -1) }}
+ |
@foreach ($fields as $key => $label)
@@ -877,11 +881,11 @@
| : |
@if ($key == 'luas_tanah' || $key == 'luas_bangunan')
- {{ $exportData[$pembanding][$key] ?? '-' }} m²
+ {{ $data[$key] ?? '-' }} m²
@elseif($key == 'harga' || $key == 'harga_diskon')
- Rp. {{ $exportData[$pembanding][$key] ?? '-' }}
+ Rp. {{ $data[$key] ?? 0 }}
@else
- {{ $exportData[$pembanding][$key] ?? '-' }}
+ {{ $data[$key] ?? '-' }}
@endif
|
@@ -893,9 +897,6 @@
-
-
-
F. INFORMASI NILAI
@@ -905,42 +906,67 @@
- |
+ |
|
a. Total Nilai Pasar Wajar
|
+ @php
+ $labelNilai = [
+ 'bangunan' => 'Luas Bangunan',
+ 'tanah' => 'Luas Tanah',
+ 'apartement-kantor' => 'Luas Apartemen/Kantor',
+ 'alat-berat' => 'Luas Alat Berat',
+ 'mesin' => 'Luas Mesin',
+ 'kendaraan' => 'Luas Kendaraan',
+ 'pesawat' => 'Luas Pesawat',
+ 'kapal' => 'Luas Kapal',
+ ];
+ @endphp
+ @foreach ($labelNilai as $key => $label)
+ @if (isset($lpjData['luas_' . $key]))
+
+ |
+ {{ $label }} {{ $lpjData['luas_' . $key] ?? '' }} m2
+ |
+
+ X Rp
+ {{ $lpjData['nilai_' . $key . '_1'] ?? '' }}
+ |
+
+ = Rp
+ {{ $lpjData['nilai_' . $key . '_2'] ?? '' }}
+ |
+
+ @endif
+ @endforeach
+ @if (isset($lpjData['npw_tambahan']))
+ @foreach ($lpjData['npw_tambahan'] as $npw)
+
+ |
+ {{ $npw['name'] }} {{ $npw['luas'] }} m2
+ |
+
+ X Rp
+ {{ $npw['nilai_1'] }}
+ |
+
+ = Rp
+ {{ $npw['nilai_2'] }}
+ |
+
+ @endforeach
+ @endif
- | Luas Tanah
- {{ $lpjData['luas_tanah'] ?? '' }}m2
- |
- X {{ $lpjData['nilai_tanah_1'] ?? '' }} |
- = {{ $lpjData['nilai_tanah_2'] ?? '' }} |
-
-
- | Luas Bangunan
- {{ $lpjData['luas_bangunan'] ?? '' }}m2
- |
- X {{ $lpjData['nilai_bangunan_1'] ?? '' }}
- |
- = {{ $lpjData['nilai_bangunan_2'] ?? '' }}
- |
-
-
- | Sarana Pelengkap
- {{ $lpjData['sarana_pelengkap_penilai'] ?? '' }}m2
- |
- X
- {{ $lpjData['nilai_sarana_pelengkap_1'] ?? '' }} |
- =
- {{ $lpjData['nilai_sarana_pelengkap_2'] ?? '' }} |
-
-
- | Total Nilai Pasar Wajar |
- =
- {{ $lpjData['total_nilai_pasar_wajar'] ?? '' }}
+ | Total Nilai Pasar Wajar |
+ |
+
+ =
+
+ Rp {{ $lpjData['total_nilai_pasar_wajar'] ?? '' }}
+
|
@@ -949,10 +975,14 @@
- |
- {{ $lpjData['likuidasi'] ?? '' }}% X Total Nilai Pasar Wajar
+ |
+ {{ $lpjData['likuidasi'] ?? '' }}%
|
- =
+ |
+ X Total Nilai Pasar Wajar
+ |
+
+ = Rp
{{ $lpjData['likuidasi_nilai_1'] ?? '' }}
|
@@ -976,7 +1006,7 @@
@foreach ($forminspeksi['fakta']['fakta_positif'] as $key => $item)
- | [{{ $key }}] {{ $item }} |
+ {!! nl2br(e($item)) !!} |
@endforeach
@@ -990,16 +1020,13 @@
@foreach ($forminspeksi['fakta']['fakta_negatif'] as $key => $item)
- | [{{ $key }}] {{ $item }} |
+ {!! nl2br(e($item)) !!} |
@endforeach
@endisset
-
-
-
|
@@ -1039,61 +1066,66 @@
| Nomor Laporan |
: |
- |
+ {{ $nomorLaporan }} |
| Tanggal Laporan |
: |
- |
+ {{ formatTanggalIndonesia($tanggalLaporan) ?? '' }} |
+
+
+
+ PETA
+
+
-
-
- | PETA |
-
+
+ @php
+ $fotoTypes = ['foto_gistaru', 'foto_bhumi', 'foto_argis_region', 'foto_tempat'];
+ // Memindahkan foto_tempat ke depan jika ada
+ if (($key = array_search('foto_tempat', $fotoTypes)) !== false) {
+ unset($fotoTypes[$key]);
+ array_unshift($fotoTypes, 'foto_tempat');
+ }
+ @endphp
-
-
- @php
- $fotoTypes = ['foto_gistaru', 'foto_bhumi', 'foto_argis_region', 'foto_tempat'];
- if (($key = array_search('foto_tempat', $fotoTypes)) !== false) {
- unset($fotoTypes[$key]);
- array_unshift($fotoTypes, 'foto_tempat');
- }
- @endphp
-
- @if (isset($forminspeksi))
- @forelse ($fotoTypes as $type)
-
+ @if (isset($forminspeksi))
+ @foreach ($fotoTypes as $type)
@php
$imagePath = $forminspeksi[$type] ?? null;
@endphp
@if ($imagePath && file_exists(storage_path('app/public/' . $imagePath)))
-  }})
+
+  }})
+
+ {{ Str::title(str_replace('_', ' ', $type)) }}
+
+
@endif
- {{ Str::title(str_replace('_', ' ', $type)) }}
-
- @empty
- Tidak ada tipe foto yang tersedia
- @endforelse
- @endif
- |
-
+ @endforeach
+ @endif
+
+
+
+
+
+
+ FOTO JAMINAN
+
+
+ @include('lpj::penilai.components.foto-jaminan')
+
+
-
- | FOTO JAMINAN |
-
-
- |
- @include('lpj::penilai.components.foto-jaminan')
- |
-
-
-
+
| |