{% extends "base.html" %} {% load static %} {% load i18n %} {% block content %}

{% trans 'Register a new invoice' %} {% trans ' Register a new customer' %}


{% if invoices %} {% for facture in invoices %} {% endfor %} {% if invoices.has_other_pages %}
{% if invoices.has_previous %} « {% endif %} {% for page_number in invoices.paginator.page_range %} {% if invoices.number == page_number %} {% else %} {{ page_number }} {% endif %} {% endfor %} {% if invoices.has_next %} « {% endif %}
{% endif %} {% else %}

No invoice found.

{% endif %}
# CUSTOMERS NAME DATE TOTAL PAID TYPE OF INVOICE ACTION
{{ facture.pk }} {{facture.customer.name}} {{facture.invoice_date_time}} {{ facture.get_total }} {% if facture.paid %} True {% else %} False {% endif %} {{facture.get_invoice_type_display }} {% trans 'View' %}


{% endblock %}