perbaikan pembanding kendaraan, alat berat, pesawat, kapal, print out dan ukuran foto pada objek jaminan
This commit is contained in:
@@ -649,15 +649,22 @@ class PenilaianController extends Controller
|
||||
|
||||
if ($lpj) {
|
||||
$lpjData = json_decode($lpj->lpj, true);
|
||||
$resumeData = json_decode($lpj->resume, true);
|
||||
$memo = json_decode($lpj->memo, true);
|
||||
$rap = json_decode($lpj->rap, true);
|
||||
}
|
||||
|
||||
|
||||
if (empty($lpj->type_penilai)) {
|
||||
return redirect()->back()->with('error', 'Masih diproses');
|
||||
}
|
||||
|
||||
$viewLaporan = $this->getViewLaporan($lpj->type_penilai);
|
||||
|
||||
if (empty($viewLaporan)) {
|
||||
return redirect()->back()->with('error', 'Laporan belum dibuat');
|
||||
}
|
||||
|
||||
return view('lpj::'. $viewLaporan, compact('permohonan', 'forminspeksi', 'basicData', 'inspeksi', 'lpjData', 'provinces'));
|
||||
|
||||
return view('lpj::'. $viewLaporan, compact('permohonan', 'forminspeksi', 'basicData', 'inspeksi', 'lpjData', 'provinces','resumeData', 'rap','memo'));
|
||||
}
|
||||
|
||||
private function getViewLaporan($tipe)
|
||||
|
||||
Reference in New Issue
Block a user