|
|
@@ -32,7 +32,7 @@ class CprPreregistrationController
|
|
|
'product_type' => v::stringType()->notEmpty()->alnum(" -_/.,")->length(1, 100),
|
|
|
'internal_control_number' => v::stringType()->notEmpty()->alnum("-_/.")->length(1, 100),
|
|
|
// Accept numeric strings convertible to int
|
|
|
- 'product_quantity' => v::intVal()->min(1),
|
|
|
+ 'product_quantity' => v::stringType()->notEmpty()->alnum("-_/.")->length(1, 100),
|
|
|
'property_name' => v::stringType()->notEmpty()->alnum(" -_/.,")->length(1, 150),
|
|
|
'property_location' => v::stringType()->notEmpty()->alnum(" -_/.,")->length(1, 200),
|
|
|
];
|