{% for service in services %} {% if forloop.first %}
{% endif %}

{{ 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 %}