mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-24 00:23:50 +00:00
fix bug when postal code is null + add validation for address &postcode
fix #20 fix #18
This commit is contained in:
@@ -29,3 +29,28 @@ Chill\MainBundle\Entity\Center:
|
||||
- Length:
|
||||
max: 50
|
||||
min: 3
|
||||
|
||||
Chill\MainBundle\Entity\Address:
|
||||
properties:
|
||||
streetAddress1:
|
||||
- Length:
|
||||
min: 2
|
||||
max: 250
|
||||
postcode:
|
||||
- NotNull: ~
|
||||
validFrom:
|
||||
- NotNull: ~
|
||||
- Date: ~
|
||||
|
||||
Chill\MainBundle\Entity\PostalCode:
|
||||
properties:
|
||||
name:
|
||||
- Length:
|
||||
max: 250
|
||||
min: 2
|
||||
code:
|
||||
- Length:
|
||||
min: 2
|
||||
max: 100
|
||||
country:
|
||||
- NotNull: ~
|
Reference in New Issue
Block a user