mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
firstname field added to twig form for child or contact types
This commit is contained in:
@@ -102,6 +102,10 @@ class ThirdPartyType extends AbstractType
|
||||
// Contact Person ThirdParty (child)
|
||||
if (ThirdParty::KIND_CONTACT === $options['kind'] || ThirdParty::KIND_CHILD === $options['kind']) {
|
||||
$builder
|
||||
->add('firstname', TextType::class, [
|
||||
'label' => 'firstname',
|
||||
'required' => true,
|
||||
])
|
||||
->add('civility', PickCivilityType::class, [
|
||||
'label' => 'thirdparty.Civility',
|
||||
'placeholder' => 'thirdparty.choose civility',
|
||||
|
Reference in New Issue
Block a user