Skip to content

Commit

Permalink
Add label next to member (flying or fixe)
Browse files Browse the repository at this point in the history
  • Loading branch information
raphodn committed Oct 12, 2023
1 parent ab08210 commit e4557e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/Resources/views/beneficiary/_partial/info.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
{% if beneficiary.isMain and maximum_nb_of_beneficiaries_in_membership > 1 %}
<span class="badge main-color white-text">{{ beneficiary_main_icon }} principal</span>
{% endif %}
{% if use_fly_and_fixed %}
{% if beneficiary.membership.flying %}
<span class="badge teal white-text">{{ member_flying_icon }} Compte volant</span>
{% else %}
<span class="badge main-color white-text">Compte fixe</span>
{% endif %}
{% endif %}
{% if beneficiary.membership.withdrawn %}
<span class="badge red white-text">{{ member_withdrawn_icon }} fermé</span>
{% endif %}
Expand Down

0 comments on commit e4557e9

Please sign in to comment.