|
|
@@ -43,16 +43,16 @@ class AddressType extends AbstractType |
|
|
|
'Homme' => 0, |
|
|
|
], |
|
|
|
]) |
|
|
|
->add('lastname', TextType::class, ['label' => 'Nom', 'required' => false]) |
|
|
|
->add('firstname', TextType::class, ['label' => 'Prénom', 'required' => false]) |
|
|
|
->add('address', TextareaType::class, ['label' => 'Adresse']) |
|
|
|
->add('zip', TextType::class, ['label' => 'Code postale']) |
|
|
|
->add('city', TextType::class, ['label' => 'Ville']) |
|
|
|
->add('country', TextType::class, ['label' => 'Pays']) |
|
|
|
->add('phone', TextType::class, ['label' => 'Téléphone', 'required' => false]) |
|
|
|
->add('company', TextType::class, ['label' => 'Entreprise', 'required' => false]) |
|
|
|
->add('siret', TextType::class, ['label' => 'SIRET', 'required' => false]) |
|
|
|
->add('tva', TextType::class, ['label' => 'Numéro TVA', 'required' => false]); |
|
|
|
->add('lastname', TextType::class, ['required' => false]) |
|
|
|
->add('firstname', TextType::class, ['required' => false]) |
|
|
|
->add('address', TextareaType::class) |
|
|
|
->add('zip', TextType::class) |
|
|
|
->add('city', TextType::class) |
|
|
|
->add('country', TextType::class) |
|
|
|
->add('phone', TextType::class, ['required' => false]) |
|
|
|
->add('company', TextType::class, ['required' => false]) |
|
|
|
->add('siret', TextType::class, ['required' => false]) |
|
|
|
->add('tva', TextType::class, ['required' => false]); |
|
|
|
} |
|
|
|
|
|
|
|
public function configureOptions(OptionsResolver $resolver) |