Fixed #8737 - incorrect validation string for components update
This commit is contained in:
parent
0c0de5e351
commit
e9578ba8a1
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class ComponentsController extends Controller
|
|||
}
|
||||
$min = $component->numCHeckedOut();
|
||||
$validator = Validator::make($request->all(), [
|
||||
"qty" => "required|numeric|gt:$min"
|
||||
"qty" => "required|numeric|min:$min"
|
||||
]);
|
||||
|
||||
if ($validator->fails()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue