Compare commits
2 Commits
90fffa0279
...
0419aebe18
Author | SHA1 | Date |
---|---|---|
aslan | 0419aebe18 | |
aslan | 4093e2ce51 |
|
@ -16,7 +16,7 @@ class StoreDocumentRequest extends FormRequest
|
|||
{
|
||||
return [
|
||||
'name' => 'required|string|max:255',
|
||||
'description' => 'string',
|
||||
'description' => 'string|nullable',
|
||||
'position' => 'required|int|numeric|max:255',
|
||||
'document' => 'required|file',
|
||||
'admission_id' => 'required|int|numeric|max:1000',
|
||||
|
|
|
@ -21,7 +21,7 @@ class UpdateDocumentRequest extends FormRequest
|
|||
"unique:documents,name,{$this->document->id}",
|
||||
],
|
||||
'position' => 'required|int|numeric|max:255',
|
||||
'description' => 'string',
|
||||
'description' => 'string|nullable',
|
||||
'admission_id' => 'required|int|numeric|max:1000',
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue