Updated rules so rate must be between 0 and 100

This commit is contained in:
Victualia // Loquere 2018-04-18 00:46:06 +02:00 committed by GitHub
parent 49f6e5c845
commit a44026704e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ class Tax extends Request
{
return [
'name' => 'required|string',
'rate' => 'required',
'rate' => 'required|min:0|max:100',
];
}
}