|
@@ -0,0 +1,32 @@
|
|
|
+{% extends 'base.html' %}
|
|
|
+
|
|
|
+{% load djadhere services %}
|
|
|
+
|
|
|
+{% block assotab %} active{% endblock %}
|
|
|
+
|
|
|
+{% block content %}
|
|
|
+<div class="panel panel-default">
|
|
|
+ <div class="panel-heading"><h4>{{ corporation.social_reason }}</h4></div>
|
|
|
+ <div class="panel-body">
|
|
|
+ {% if corporation.adhesion %}
|
|
|
+ <p>Numéro d’adhérent de l’association : ADT{{ corporation.adhesion.id }}</p>
|
|
|
+ {% if corporation.adhesion.contribution %}
|
|
|
+ <p>Montant de la cotisation : {{ corporation.adhesion.contribution }}</p>
|
|
|
+ {% else %}
|
|
|
+ <p>Pas de cotisation.</p>
|
|
|
+ {% endif %}
|
|
|
+ {% if corporation.adhesion.created %}
|
|
|
+ <p>Date de première adhésion : {{ corporation.adhesion.created }}</p>
|
|
|
+ {% endif %}
|
|
|
+ <p>Services actifs : {{ corporation.adhesion.services|active|count }}</p>
|
|
|
+ <p>Services inactifs : {{ corporation.adhesion.services|inactive|count }}</p>
|
|
|
+ {% else %}
|
|
|
+ <p>Cette association n’est pas adhérente <mark>tetaneutral.net</mark>.</p>
|
|
|
+ {% endif %}
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+{% with services=corporation.adhesion.services.all %}
|
|
|
+{% include 'services/_service_list.html' %}
|
|
|
+{% endwith %}
|
|
|
+{% endblock %}
|