fix(surveyor): perbaiikan save pembanding kendaraan

This commit is contained in:
majid
2025-03-14 14:30:38 +07:00
parent 05d63fe6eb
commit 3ee55149fa
2 changed files with 14 additions and 15 deletions

View File

@@ -1385,7 +1385,7 @@ class SurveyorController extends Controller
$maxSize = getMaxFileSize('Foto');
$validator = $request->validate([
'permohonan_id' => 'required|exists:permohonan,id',
'type' => 'required|string',
'type' => 'nullable|string',
'dokument_id' => 'required',
'name_foto_objek' => 'nullable|string',
'nomor_registrasi' => 'required|string',