|
|
|
|
|
|
|
|
use Lc\ShopBundle\Model\Address; |
|
|
use Lc\ShopBundle\Model\Address; |
|
|
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
|
|
|
|
|
use Symfony\Component\Form\Extension\Core\Type\HiddenType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\TextareaType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\TextType; |
|
|
use Symfony\Component\Form\Extension\Core\Type\TextType; |
|
|
use Doctrine\ORM\EntityManagerInterface; |
|
|
use Doctrine\ORM\EntityManagerInterface; |
|
|
|
|
|
|
|
|
]) |
|
|
]) |
|
|
->add('company', TextType::class, ['required' => false]) |
|
|
->add('company', TextType::class, ['required' => false]) |
|
|
->add('siret', TextType::class, ['required' => false]) |
|
|
->add('siret', TextType::class, ['required' => false]) |
|
|
->add('tva', TextType::class, ['required' => false]); |
|
|
|
|
|
|
|
|
->add('tva', TextType::class, ['required' => false]) |
|
|
|
|
|
->add('country', HiddenType::class, ['data' => 'France']) |
|
|
|
|
|
; |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|