update view laporan di so
This commit is contained in:
@@ -650,7 +650,7 @@ class PenilaiController extends Controller
|
||||
try {
|
||||
|
||||
if ($statusLpj) {
|
||||
return view('lpj::' . $viewLaporan, compact(
|
||||
$html= view('lpj::' . $viewLaporan, compact(
|
||||
'permohonan',
|
||||
'forminspeksi',
|
||||
'lpjData',
|
||||
@@ -664,6 +664,9 @@ class PenilaiController extends Controller
|
||||
'nomorLaporan'
|
||||
))->render();
|
||||
|
||||
return response($html, 200)->header('Content-Type', 'text/html');
|
||||
|
||||
|
||||
} else {
|
||||
$pdf = PDF::loadView('lpj::' . $viewLaporan, compact(
|
||||
'permohonan',
|
||||
|
||||
Reference in New Issue
Block a user