mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
accompanying course: display closed acc. period in list
This commit is contained in:
parent
343b2a6f2f
commit
25ebeebdfb
@ -687,7 +687,7 @@ class Person implements HasCenterInterface, TrackCreationInterface, TrackUpdateI
|
||||
$result = new ArrayCollection();
|
||||
|
||||
if ($asParticipantOpen) {
|
||||
foreach ($this->getOpenedParticipations()
|
||||
foreach ($this->getAccompanyingPeriodParticipations()
|
||||
->map(fn (AccompanyingPeriodParticipation $app) => $app->getAccompanyingPeriod())
|
||||
as $period
|
||||
) {
|
||||
|
@ -93,6 +93,11 @@
|
||||
<span class="course-draft badge bg-secondary" title="{{ 'course.draft'|trans }}">{{ 'course.draft'|trans }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if acp.step == 'CLOSED' %}
|
||||
<div class="is-closed">
|
||||
<span class="course-closed badge bg-danger" title="{{ 'course.closed'|trans }}">{{ 'course.closed'|trans }}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if acp.requestorPerson == person %}
|
||||
<div>
|
||||
<span class="as-requestor badge bg-info" title="{{ 'Requestor'|trans|e('html_attr') }}">
|
||||
|
@ -216,6 +216,7 @@ Some peoples does not belong to any household currently. Add them to an househol
|
||||
Add to household now: Ajouter à un ménage
|
||||
Any resource for this accompanying course: Aucun interlocuteur privilégié pour ce parcours
|
||||
course.draft: Brouillon
|
||||
course.closed: Clôturé
|
||||
Origin: Origine de la demande
|
||||
Delete accompanying period: Supprimer la période d'accompagnement
|
||||
Are you sure you want to remove the accompanying period "%id%" ?: Êtes-vous sûr de vouloir supprimer la période d'accompagnement %id% ?
|
||||
|
Loading…
x
Reference in New Issue
Block a user