REmove required from address field
This commit is contained in:
parent
14954cdb84
commit
c2d33b77d5
1 changed files with 3 additions and 6 deletions
|
|
@ -144,9 +144,8 @@ class Customer extends CrmClientModel
|
|||
/**
|
||||
* The user address (street number, name, etc)
|
||||
*
|
||||
* Validate: string
|
||||
* Validate: sometimes,string
|
||||
*
|
||||
* Required
|
||||
* Min length NA
|
||||
* Max length 255
|
||||
* Field Type varchar
|
||||
|
|
@ -160,7 +159,6 @@ class Customer extends CrmClientModel
|
|||
*
|
||||
* Validate: sometimes,string
|
||||
*
|
||||
* Required
|
||||
* Min length NA
|
||||
* Max length 255
|
||||
* Field Type varchar
|
||||
|
|
@ -172,9 +170,8 @@ class Customer extends CrmClientModel
|
|||
/**
|
||||
* The user address city
|
||||
*
|
||||
* Validate: string
|
||||
* Validate: sometimes,string
|
||||
*
|
||||
* Required
|
||||
* Min length NA
|
||||
* Max length 255
|
||||
* Field Type varchar
|
||||
|
|
@ -275,7 +272,7 @@ class Customer extends CrmClientModel
|
|||
'password' => 'required|min:8|max:255',
|
||||
'birth_date' => 'required|date_format:Y-m-d',
|
||||
'phone' => 'sometimes|string|min:10|max:255',
|
||||
'address' => 'required|string|max:255',
|
||||
'address' => 'sometimes|string|max:255',
|
||||
'address2' => 'sometimes|string|max:255',
|
||||
'city' => 'required|string|max:255',
|
||||
'postcode' => 'required|string|max:255',
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue