-
{{ 'Referrer'|trans }}
-
-
-
- {{ acp.user|chill_entity_render_box }}
-
-
-
- {% endif %}
-
- {% if acp.socialIssues|length > 0 %}
-
-
-
{{ 'Social issues'|trans }}
-
-
- {% for issue in acp.socialIssues %}
- {{ issue|chill_entity_render_box }}
- {% endfor %}
-
-
- {% endif %}
-
- {% if acp.currentParticipations|length > 1 %}
-
-
-
- {{ 'Participants'|trans }}
+
+
+ {{ 'Course number'|trans }} {{ acp.id }}
- {% set participating = false %}
- {% for part in acp.currentParticipations %}
- {% if part.person.id != person.id %}
- {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
- targetEntity: { name: 'person', id: part.person.id },
- action: 'show',
- displayBadge: true,
- buttonText: part.person|chill_entity_render_string,
- isDead: part.person.deathdate is not null
- } %}
- {% else %}
- {% set participating = true %}
+
+ {% if app != null %}
+
+ {{ 'Since %date%'|trans({'%date%': app.startDate|format_date('medium') }) }}
+
{% endif %}
- {% endfor %}
- {% if participating %}
- {{ 'person.and_himself'|trans({'gender': person.gender}) }}
- {% endif %}
+
+ {% set notif_counter = chill_count_notifications('Chill\\PersonBundle\\Entity\\AccompanyingPeriod', acp.id) %}
+ {% if notif_counter.total > 0 %}
+ {{ chill_counter_notifications('Chill\\PersonBundle\\Entity\\AccompanyingPeriod', acp.id) }}
+ {% endif %}
+
+
+ {% if acp.requestoranonymous == false and acp.requestorPerson is same as(person) %}
+
+ {{ 'Requestor'|trans({'gender': person.gender}) }}
+
+ {% endif %}
+
+ {% if acp.emergency %}
+ {{- 'Emergency'|trans|upper -}}
+ {% endif %}
+
+ {% if acp.confidential %}
+ {{- 'Confidential'|trans|upper -}}
+ {% endif %}
+
+ {% if acp.step == 'DRAFT' %}
+ {{ 'course.draft'|trans }}
+ {% endif %}
+
+ {% if acp.step == 'CLOSED' %}
+ {{ 'course.closed'|trans }}
+ {% endif %}
+
- {% endif %}
- {% if acp.requestoranonymous == false %}
- {% if (acp.requestorPerson is not null and acp.requestorPerson.id != person.id) or acp.requestorThirdParty is not null %}
+ {% if acp.user is not null %}
-
- {% if acp.requestorPerson is not null %}
- {{ 'Requestor'|trans({'gender': acp.requestorPerson.gender}) }}
- {% else %}
- {{ 'Requestor'|trans({'gender': 'other'})}}
- {% endif %}
+ {{ 'Referrer'|trans }}
+
+
+
+ {{ acp.user|chill_entity_render_box }}
+
+
+
+ {% endif %}
+
+ {% if acp.socialIssues|length > 0 %}
+
+
+
{{ 'Social issues'|trans }}
+
+
+ {% for issue in acp.socialIssues %}
+ {{ issue|chill_entity_render_box }}
+ {% endfor %}
+
+
+ {% endif %}
+
+ {% if acp.currentParticipations|length > 1 %}
+
+
+
+ {{ 'Participants'|trans }}
- {% if acp.requestorThirdParty is not null %}
- {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
- targetEntity: { name: 'thirdparty', id: acp.requestorThirdParty.id },
- action: 'show',
- displayBadge: true,
- buttonText: acp.requestorThirdParty|chill_entity_render_string
- } %}
- {% else %}
- {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
- targetEntity: { name: 'person', id: acp.requestorPerson.id },
- action: 'show',
- displayBadge: true,
- buttonText: acp.requestorPerson|chill_entity_render_string,
- isDead: acp.requestorPerson.deathdate is not null
- } %}
+ {% set participating = false %}
+ {% for part in acp.currentParticipations %}
+ {% if part.person.id != person.id %}
+ {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
+ targetEntity: { name: 'person', id: part.person.id },
+ action: 'show',
+ displayBadge: true,
+ buttonText: part.person|chill_entity_render_string,
+ isDead: part.person.deathdate is not null
+ } %}
+ {% else %}
+ {% set participating = true %}
+ {% endif %}
+ {% endfor %}
+ {% if participating %}
+ {{ 'person.and_himself'|trans({'gender': person.gender}) }}
{% endif %}
{% endif %}
- {% endif %}
-
+ {% if acp.requestoranonymous == false %}
+ {% if (acp.requestorPerson is not null and acp.requestorPerson.id != person.id) or acp.requestorThirdParty is not null %}
+
+
+
+ {% if acp.requestorPerson is not null %}
+ {{ 'Requestor'|trans({'gender': acp.requestorPerson.gender}) }}
+ {% else %}
+ {{ 'Requestor'|trans({'gender': 'other'})}}
+ {% endif %}
+
+
+
+ {% if acp.requestorThirdParty is not null %}
+ {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
+ targetEntity: { name: 'thirdparty', id: acp.requestorThirdParty.id },
+ action: 'show',
+ displayBadge: true,
+ buttonText: acp.requestorThirdParty|chill_entity_render_string
+ } %}
+ {% else %}
+ {% include '@ChillMain/OnTheFly/_insert_vue_onthefly.html.twig' with {
+ targetEntity: { name: 'person', id: acp.requestorPerson.id },
+ action: 'show',
+ displayBadge: true,
+ buttonText: acp.requestorPerson|chill_entity_render_string,
+ isDead: acp.requestorPerson.deathdate is not null
+ } %}
+ {% endif %}
+
+
+ {% endif %}
+ {% endif %}
+
+