mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-01 19:09:45 +00:00
ChillPersonBundle: Add numberOfDependents and numberOfDependentsWithDisabilities
This commit is contained in:
@@ -206,6 +206,28 @@ This view should receive those arguments:
|
||||
</dd>
|
||||
</dl>
|
||||
{%- endif -%}
|
||||
{%- if chill_person.fields.number_of_dependents == 'isible' -%}
|
||||
<dl>
|
||||
<dt>{{'Number of dependents'|trans}} :</dt>
|
||||
<dd>
|
||||
{% if person.numberOfDependents is not null %}
|
||||
{{ person.numberOfDependents }}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
<dl>
|
||||
<dt>{{'Number of dependents with disabilities'|trans}} :</dt>
|
||||
<dd>
|
||||
{% if person.numberOfDependents is not null %}
|
||||
{{ person.numberOfDependentsWithDisabilities }}
|
||||
{% else %}
|
||||
<span class="chill-no-data-statement">{{ 'No data given'|trans }}</span>
|
||||
{% endif %}
|
||||
</dd>
|
||||
</dl>
|
||||
{%- endif -%}
|
||||
{%- if chill_person.fields.marital_status == 'visible' -%}
|
||||
<dl>
|
||||
<dt>{{'Marital status'|trans}} :</dt>
|
||||
|
Reference in New Issue
Block a user