123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- {% extends "base.html" %}
- {% block content %}
- <h2>Balance : {{ balance|floatformat }} €</h2>
- <h2>Mes factures</h2>
- <table id="member_invoices" class="full-width">
- <thead>
- <tr>
- <th>Numéro</th>
- <th>Date</th>
- <th>Montant</th>
- <th>Reste à payer</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- {% for invoice in invoices %}
- <tr>
- <td><a href="{% url 'billing:invoice' id=invoice.number %}">{{ invoice.number }}</a></td>
- <td>{{ invoice.date }}</td>
- <td>{{ invoice.amount }}</td>
- <td{% if invoice.amount_remaining_to_pay > 0 %} class="unpaid"{% endif %}>{{ invoice.amount_remaining_to_pay }}</td>
- <td>{% if invoice.validated %}<a href="{% url 'billing:invoice_pdf' id=invoice.number %}"><i class="fa fa-file-pdf-o"></i> PDF</a>{% endif %}</td>
- </tr>
- {% empty %}
- <tr class="placeholder"><td colspan="6">Aucune facture.</td></tr>
- {% endfor %}
- </tbody>
- </table>
- <h2>Mes paiements</h2>
- <table id="member_payments" class="full-width">
- <thead>
- <tr>
- <th>Date</th>
- <th>Montant</th>
- <th>Alloué</th>
- </tr>
- </thead>
- <tbody>
- {% for payment in payments %}
- <tr>
- <td>{{ payment.date }}</td>
- <td>{{ payment.amount }}</td>
- <td>{{ payment.amount_already_allocated }}</td>
- </tr>
- {% empty %}
- <tr class="placeholder"><td colspan="6">Aucun paiement.</td></tr>
- {% endfor %}
- </tbody>
- </table>
- <h2>Coordonnées bancaires</h2>
- <div id="payment-howto" class="panel">
- {% include "billing/payment_howto.html" %}
- </div>
- {% endblock %}
|