fix(surveyor): perbaikkan foto dan print out hasil inspeksi

This commit is contained in:
majid
2025-03-07 10:11:26 +07:00
committed by putrakuningan
parent cf6e008502
commit 796b6fab92
3 changed files with 48 additions and 43 deletions

View File

@@ -236,6 +236,7 @@ class SurveyorController extends Controller
'alat-berat' => 'getAlatBeratData',
'lingkungan' => 'getLingkunganData',
'fakta' => 'getFactData',
'informasi' => 'getFactData',
'rap' => 'getRapData',
];
@@ -2668,7 +2669,8 @@ class SurveyorController extends Controller
'foto_bhumi',
'foto_argis_region',
'foto_tempat',
'foto_sentuh_tanahku'
'foto_sentuh_tanahku',
'upload_gs'
];
if ($inspeksi) {
@@ -3638,7 +3640,7 @@ class SurveyorController extends Controller
$namaDebiture = $permohonan->debiture->name . '-' . $permohonan->nomor_registrasi;
$fileName = 'inspeksi-' . $namaDebiture . '-data.pdf';
return $pdf->download($fileName);
return $pdf->stream($fileName);
}
public function approveReschedule(Request $request, $id)