Merge branch 'main' of https://gitlab.com/fiqhpratama1/xpendify
This commit is contained in:
@@ -126,7 +126,7 @@ class FormVehicleController extends Controller
|
||||
'tipe_bensin' => 'required|in:pertalite,pertamax',
|
||||
'nopol' => 'required',
|
||||
'keterangan' => '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'));
|
||||
@@ -294,7 +294,7 @@ class FormVehicleController extends Controller
|
||||
'tipe_bensin' => 'required|in:pertalite,pertamax',
|
||||
'nopol' => 'required',
|
||||
'keterangan' => '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') {
|
||||
|
||||
Reference in New Issue
Block a user