From 476e5cf4bbf40784376370a35238a1d805a31c7e Mon Sep 17 00:00:00 2001 From: FIQH PRATAMA Date: Wed, 5 Mar 2025 09:57:09 +0700 Subject: [PATCH] Edit FormMeetingSeminarController.php delete FileType --- .../Forms/FormMeetingSeminarController.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/Http/Controllers/Forms/FormMeetingSeminarController.php b/app/Http/Controllers/Forms/FormMeetingSeminarController.php index 2b2e16f..0c4fd4a 100644 --- a/app/Http/Controllers/Forms/FormMeetingSeminarController.php +++ b/app/Http/Controllers/Forms/FormMeetingSeminarController.php @@ -125,9 +125,9 @@ class FormMeetingSeminarController extends Controller 'allowance' => 'nullable|numeric', 'transport_ankot' => 'nullable|numeric', 'hotel' => 'nullable|numeric', - 'bukti_allowance' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], - 'bukti_transport_ankot' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], - 'bukti_hotel' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], + 'bukti_allowance' => ['nullable', 'file', 'max:51200'], + 'bukti_transport_ankot' => ['nullable', 'file', 'max:51200'], + 'bukti_hotel' => ['nullable', 'file', 'max:51200'], ]); $currentDate = $request->tanggal; @@ -317,9 +317,9 @@ class FormMeetingSeminarController extends Controller 'allowance' => 'nullable|numeric', 'transport_ankot' => 'nullable|numeric', 'hotel' => 'nullable|numeric', - 'bukti_allowance' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], - 'bukti_transport_ankot' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], - 'bukti_hotel' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], + 'bukti_allowance' => ['nullable', 'file', 'max:51200'], + 'bukti_transport_ankot' => ['nullable', 'file', 'max:51200'], + 'bukti_hotel' => ['nullable', 'file', 'max:51200'], ]); if($form->status != 'On Progress' && $role == 'Medical Representatif') {