{% extends "base.html" %}

{% block content %}
<div class="row">
     <h2>Mes factures</h2>

    <table id="member_invoices" class="full-width">
        <thead>
            <tr>
                <th>Numéro</th>
                <th>Date</th>
                <th>Montant</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {% for invoice in invoices %}
            <tr>
                <td>{{ invoice.number }}</td>
                <td>{{ invoice.date }}</td>
                <td>{{ invoice.amount }}</td>
                <td><a href="{% url 'billing:invoice_pdf' id=invoice.number %}">PDF</a></td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
<!--
     <div class="panel">
         <h3>Stats générales ADSL</h3>
         <a class="button">Voir l'ADSL</a>
     </div>
     <div class="panel">
         <h3>Stats générales VPN</h3>
         <a class="button">Voir le VPN</a>
     </div>-->
 </div>
{% endblock %}
