{% extends "base.html" %} {% load i18n %} {% load bootstrap3 %} {% load dv_filters %} {% block head_title %}{% blocktrans with year=year %}Factures {{ year }}{% endblocktrans %}{% endblock %} {% block content %}

{% blocktrans with year=year %}Factures {{ year }}{% endblocktrans %}

{% if request.user|can:"export_yearly_invoices" %} {% include 'export_buttons.html' with exporturl='invoices-yearly-list-export' exportargs=year filter_querystring=filter_querystring only %} {% endif %}
{% for season in seasons %} {% if season.nb_invoices != 0 %} {% for invoice in season.invoices.all %} {% endfor %} {% endif %} {% if forloop.last %}
{{ season.desc }}
{{ invoice.get_status_display }} {{ invoice.ref }} {{ invoice.organization.name }} {{ invoice.title }} {{ invoice.sum_cost }} {% if user_can_edit_locked_invoice or not invoice.is_locked %} {% endif %}
{% endif %} {% endfor %} {% endblock %}