|
|
@@ -5,6 +5,7 @@ namespace Lc\ShopBundle\Form\Backend\Common; |
|
|
|
use Lc\ShopBundle\Model\Address; |
|
|
|
use Symfony\Component\Form\Extension\Core\Type\ChoiceType; |
|
|
|
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\TextType; |
|
|
|
use Doctrine\ORM\EntityManagerInterface; |
|
|
@@ -60,7 +61,9 @@ class AddressType extends AbstractType |
|
|
|
]) |
|
|
|
->add('company', 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']) |
|
|
|
; |
|
|
|
|
|
|
|
} |
|
|
|
|