progress indicators, bug fixes, after a while
This commit is contained in:
@@ -22,13 +22,13 @@ class UpdateClientRequest extends FormRequest
|
||||
//'document_three_name.required_with' => 'Please select a file to upload.',
|
||||
|
||||
'document_one.mimes' => 'The uploaded file must be a PDF, An MS Word Document or An Image.',
|
||||
'document_one.max' => 'The uploaded file may not be larger than 10MB.',
|
||||
'document_one.max' => 'The uploaded file may not be larger than 20MB.',
|
||||
'document_two.mimes' => 'The uploaded file must be a PDF, An MS Word Document or An Image.',
|
||||
'document_two.max' => 'The uploaded file may not be larger than 10MB.',
|
||||
'document_two.max' => 'The uploaded file may not be larger than 20MB.',
|
||||
'document_three.mimes' => 'The uploaded file must be a PDF, An MS Word Document or An Image.',
|
||||
'document_three.max' => 'The uploaded file may not be larger than 10MB.',
|
||||
'document_three.max' => 'The uploaded file may not be larger than 20MB.',
|
||||
'other_document.mimes' => 'The uploaded file must be a PDF, An MS Word Document or An Image.',
|
||||
'other_document.max' => 'The uploaded file may not be larger than 10MB.',
|
||||
'other_document.max' => 'The uploaded file may not be larger than 20MB.',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -46,16 +46,18 @@ class UpdateClientRequest extends FormRequest
|
||||
'status' => 'required',
|
||||
'currency' => 'required',
|
||||
'auth_user_id' => 'required',
|
||||
'progress_indicators' => 'required',
|
||||
'contract_validity' => 'sometimes|date',
|
||||
/*
|
||||
'document_one_name' => 'required_with:document_one.*',
|
||||
'document_two_name' => 'required_with:document_two.*',
|
||||
'document_three_name' => 'required_with:document_three.*',
|
||||
*/
|
||||
'other_document_name' => 'required_with:other_document.*',
|
||||
'document_one' => 'max:10240|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'document_two' => 'max:10240|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'document_three' => 'max:10240|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'other_document' => 'max:10240|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx'
|
||||
'document_one' => 'max:20480|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'document_two' => 'max:20480|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'document_three' => 'max:20480|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx',
|
||||
'other_document' => 'max:20480|mimes:png,jpg,jpeg,bmp,pdf,doc,docx,xlx,xlsx'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user