diff --git a/resources/views/penilai/components/analisa/informasi.blade.php b/resources/views/penilai/components/analisa/informasi.blade.php index 1bf8323..28a4978 100644 --- a/resources/views/penilai/components/analisa/informasi.blade.php +++ b/resources/views/penilai/components/analisa/informasi.blade.php @@ -10,13 +10,19 @@ - @if (is_array($item)) - @foreach ($item as $data_) - {!! nl2br(e($data_)) !!} - @endforeach - @else - {!! nl2br(e($item)) !!} - @endif + + + + +
+ @if (is_array($item)) + @foreach ($item as $data_) + {!! nl2br(e($data_)) !!}
+ @endforeach + @else + {!! nl2br(e($item)) !!} + @endif +
@endforeach @endif @else diff --git a/resources/views/penilai/components/print-out-sederhana.blade.php b/resources/views/penilai/components/print-out-sederhana.blade.php index 6b354e9..30de3c3 100644 --- a/resources/views/penilai/components/print-out-sederhana.blade.php +++ b/resources/views/penilai/components/print-out-sederhana.blade.php @@ -129,7 +129,7 @@ : @if($permohonan->is_mig) - {{ floor(\Carbon\Carbon::parse($permohonan->penilaian->tanggal_kunjungan)->diffInDays(\Carbon\Carbon::parse($tanggalLaporan))) }} + {{ hitungHariKerja($permohonan->penilaian->tanggal_kunjungan, \Carbon\Carbon::createFromFormat('d/m/Y H:i:s', $permohonan_migrasi->mig_mst_jaminan_tgl_oto)->format('Y-m-d H:i:s')) }} @else {{ hitungHariKerja($permohonan->penilaian->tanggal_kunjungan, $tanggalLaporan) }} @endif @@ -549,7 +549,7 @@ = Rp - {{ $lpjData['nilai_' . $key . '_2'] ?? '' }} + {{ number_format($lpjData['nilai_' . $key . '_2'], 0, ',', '.') ?? '' }} @php $totalNilaiPasarWajar += $lpjData['nilai_' . $key . '_2']; @endphp @@ -567,7 +567,7 @@ = Rp - {{ $npw['nilai_2'] }} + {{ number_format($npw['nilai_2'], 0, ',', '.') ?? '' }} @php $totalNilaiPasarWajar += $npw['nilai_2']; @endphp diff --git a/resources/views/penilai/components/print-out-standar.blade.php b/resources/views/penilai/components/print-out-standar.blade.php index 12c3aa2..6a60019 100644 --- a/resources/views/penilai/components/print-out-standar.blade.php +++ b/resources/views/penilai/components/print-out-standar.blade.php @@ -313,6 +313,7 @@ @php + $totalNilaiPasarWajar = 0; $labelNilai = [ 'bangunan' => 'Luas Bangunan', 'tanah' => 'Luas Tanah', @@ -342,9 +343,10 @@ = Rp - {{ $lpjData['nilai_' . $key . '_2'] ?? '' }} + {{ number_format($lpjData['nilai_' . $key . '_2'], 0, ',', '.') ?? '' }} + @php $totalNilaiPasarWajar += $lpjData['nilai_' . $key . '_2']; @endphp @endif @endforeach @@ -360,9 +362,10 @@ = Rp - {{ $npw['nilai_2'] }} + {{ number_format($npw['nilai_2'], 0, ',', '.') ?? '' }} + @php $totalNilaiPasarWajar += $npw['nilai_2']; @endphp @endforeach @endif @@ -371,7 +374,7 @@ =
- Rp {{ $lpjData['total_nilai_pasar_wajar'] ?? '' }} + Rp {{ $lpjData['total_nilai_pasar_wajar'] ?? number_format($totalNilaiPasarWajar, 0, ',', '.') ?? '' }}