diff --git a/resources/views/penilai/components/print-out.blade.php b/resources/views/penilai/components/print-out.blade.php index ed8fcf3..db7a6c0 100644 --- a/resources/views/penilai/components/print-out.blade.php +++ b/resources/views/penilai/components/print-out.blade.php @@ -211,8 +211,6 @@ } - - @@ -537,9 +535,12 @@ @endif - - name, $forminspeksi['tanah']['bentuk_tanah']['bentuk_tanah']) ? 'checked' : '' }}> {{ $item->name }} - + + name, $forminspeksi['tanah']['bentuk_tanah']['bentuk_tanah']) ? 'checked' : '' }}> + {{ $item->name }} + + @endforeach diff --git a/resources/views/penilaian/otorisator/show.blade.php b/resources/views/penilaian/otorisator/show.blade.php index fdd06f6..0b8638e 100644 --- a/resources/views/penilaian/otorisator/show.blade.php +++ b/resources/views/penilaian/otorisator/show.blade.php @@ -51,18 +51,20 @@ @php $inspeksiId = null; $documentId = null; + $jenisJaminanId = null; foreach ($permohonan->debiture->documents as $item) { foreach ($item->inspeksi as $key => $value) { $inspeksiId = $item->id; } - $documentId = $item->dokumen_id; + $documentId = $item->id; + $jenisJaminanId = $item->jenis_jaminan_id; } @endphp @if ($dataHeader == 'pelaporan') - PRINT OUT + href="{{ route('penilai.print-out') }}?permohonanId={{ $permohonan->id }}&documentId={{ $documentId }}&inspeksiId={{ $inspeksiId }}&jaminanId={{ $jenisJaminanId }}"> + Lihat Laporan @endif diff --git a/resources/views/surveyor/components/foto.blade.php b/resources/views/surveyor/components/foto.blade.php index ce56427..c61805a 100644 --- a/resources/views/surveyor/components/foto.blade.php +++ b/resources/views/surveyor/components/foto.blade.php @@ -107,7 +107,7 @@ value="rute_{{ $index }}"> + capture="camera" onchange="previewImage(this, 'foto_rute-preview-{{ $index }}')">