update view laporan di so

This commit is contained in:
majid
2024-12-28 07:27:00 +07:00
parent 2005f546c5
commit 9a24751f65
4 changed files with 18 additions and 26 deletions

View File

@@ -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',