Fixed #5084 - min supplier name now 1

This commit is contained in:
snipe 2018-02-22 16:37:05 -08:00
parent 236e773438
commit e49a36c9fd

View file

@ -14,7 +14,7 @@ class Supplier extends SnipeModel
protected $table = 'suppliers'; protected $table = 'suppliers';
protected $rules = array( protected $rules = array(
'name' => 'required|min:3|max:255|unique_undeleted', 'name' => 'required|min:1|max:255|unique_undeleted',
'address' => 'max:50|nullable', 'address' => 'max:50|nullable',
'address2' => 'max:50|nullable', 'address2' => 'max:50|nullable',
'city' => 'max:255|nullable', 'city' => 'max:255|nullable',