From bb88fa2bb591c5c32bc6292d55951320014ff449 Mon Sep 17 00:00:00 2001 From: FIQH PRATAMA Date: Wed, 5 Mar 2025 09:58:07 +0700 Subject: [PATCH] Edit FormEntertainmentPresentationController.php delete FileType --- .../Forms/FormEntertainmentPresentationController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Forms/FormEntertainmentPresentationController.php b/app/Http/Controllers/Forms/FormEntertainmentPresentationController.php index a5a90d2..6f6be39 100644 --- a/app/Http/Controllers/Forms/FormEntertainmentPresentationController.php +++ b/app/Http/Controllers/Forms/FormEntertainmentPresentationController.php @@ -124,7 +124,7 @@ class FormEntertainmentPresentationController extends Controller 'name' => 'required', 'alamat' => 'required', 'nik_or_npwp' => 'required', - 'bukti_total' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], + 'bukti_total' => ['nullable', 'file', 'max:51200'], ]); $startDate = date('Y-m-' . env('STARTING_DATE')); @@ -285,7 +285,7 @@ class FormEntertainmentPresentationController extends Controller 'name' => 'required', 'alamat' => 'required', 'nik_or_npwp' => 'required', - 'bukti_total' => ['nullable', 'file', 'max:51200', new FileType(['php', 'exe', 'js', 'sh', 'bat', 'exe', 'sh', 'php', 'vbs'])], + 'bukti_total' => ['nullable', 'file', 'max:51200'], ]); if($form->status != 'On Progress' && $role == 'Medical Representatif') {