Allowed slightly longer zip codes

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-04-16 07:46:29 -07:00
parent 7534d27a03
commit bceb0b8a47

View file

@ -30,7 +30,7 @@ class Location extends SnipeModel
'country' => 'min:2|max:255|nullable',
'address' => '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',
'parent_id' => 'non_circular:locations,id',
];