{% load djadhere services %} {% for service in services %} {% if forloop.first %}

Services

Services actifs : {{ services|active|count }}
Services inactifs : {{ services|inactive|count }}

{% endif %} #{{ service.id }}

{{ service.service_type }} {{ service.label }}

{% if service.contribution.count == 1 %}

{{ service.contribution.first }}

{% elif service.contribution.count > 1 %}

multiples paiements

{% endif %}

{{ service.ip_resources.all|join:", " }}

{% if forloop.last %}
{% endif %} {% endfor %}