misc fixes for Thirdparty / addPerson

* set default values for ThirdParty in ThirdParty.vue
* set correct value for binding with phone (telephone instead of
phonenumber)
* add validation on ThirdParty/denomination: at least two characters, no
Null value
This commit is contained in:
2022-02-17 22:42:52 +01:00
parent 99afd2e830
commit caaebd593b
5 changed files with 44 additions and 37 deletions

View File

@@ -139,12 +139,10 @@ class Address
private $point;
/**
* @var PostalCode
*
* @ORM\ManyToOne(targetEntity="Chill\MainBundle\Entity\PostalCode")
* @Groups({"write"})
*/
private $postcode;
private ?PostalCode $postcode;
/**
* @var string|null