mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 21:21:18 -08:00
Allowed slightly longer zip codes
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
7534d27a03
commit
bceb0b8a47
|
@ -30,7 +30,7 @@ class Location extends SnipeModel
|
||||||
'country' => 'min:2|max:255|nullable',
|
'country' => 'min:2|max:255|nullable',
|
||||||
'address' => 'max:80|nullable',
|
'address' => 'max:80|nullable',
|
||||||
'address2' => 'max:80|nullable',
|
'address2' => 'max:80|nullable',
|
||||||
'zip' => 'min:3|max:10|nullable',
|
'zip' => 'min:3|max:12|nullable',
|
||||||
'manager_id' => 'exists:users,id|nullable',
|
'manager_id' => 'exists:users,id|nullable',
|
||||||
'parent_id' => 'non_circular:locations,id',
|
'parent_id' => 'non_circular:locations,id',
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue