mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-04 13:54:59 +00:00
firstname field added to twig form for child or contact types
This commit is contained in:
@@ -3,6 +3,10 @@
|
||||
{{ form_row(form.civility) }}
|
||||
{% endif %}
|
||||
|
||||
{% if form.firstname is defined %}
|
||||
{{ form_row(form.firstname) }}
|
||||
{% endif %}
|
||||
|
||||
{{ form_row(form.name) }}
|
||||
|
||||
{% if form.nameCompany is defined %}
|
||||
|
@@ -7,6 +7,11 @@
|
||||
{{ form_errors(form.civility) }}
|
||||
{{ form_label(form.civility) }}
|
||||
</div>
|
||||
<div class="form-group col-md-5 mb-3">
|
||||
{{ form_widget(form.firstname) }}
|
||||
{{ form_errors(form.firstname) }}
|
||||
{{ form_label(form.firstname) }}
|
||||
</div>
|
||||
<div class="form-group col-md-5 mb-3">
|
||||
{{ form_widget(form.name) }}
|
||||
{{ form_errors(form.name) }}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
<dt>{{ 'Name'|trans }}</dt>
|
||||
<dd>
|
||||
{% if thirdParty.isLeaf == true %}{{ thirdParty.civility }}{% endif %}
|
||||
{{ thirdParty.name }}
|
||||
{{ thirdParty.firstname ~ ' ' ~ thirdParty.name }}
|
||||
</dd>
|
||||
|
||||
{% if thirdParty.kind == 'company' %}
|
||||
|
Reference in New Issue
Block a user