Merge remote-tracking branch 'composer/feature/senior-officer' into staging

This commit is contained in:
Daeng Deni Mardaeni
2024-12-28 08:49:54 +07:00
4 changed files with 18 additions and 26 deletions

View File

@@ -661,7 +661,7 @@ class PenilaiController extends Controller
try {
if ($statusLpj) {
return view('lpj::' . $viewLaporan, compact(
$html= view('lpj::' . $viewLaporan, compact(
'permohonan',
'forminspeksi',
'lpjData',
@@ -675,6 +675,9 @@ class PenilaiController extends Controller
'nomorLaporan'
))->render();
return response($html, 200)->header('Content-Type', 'text/html');
} else {
$pdf = PDF::loadView('lpj::' . $viewLaporan, compact(
'permohonan',