{% extends "lingo/invoicing/print_document_base.html" %} {% load i18n %} {% block document-label %}{{ invoice.label }}{% endblock %} {% block informations %}
{% trans "Invoice number:" %}
{{ invoice.formatted_number }}
{% if invoice.previous_invoice %}
{% trans "Initial invoice number:" %}
{{ invoice.previous_invoice.formatted_number }}
{% endif %}
{% trans "Date:" %}
{{ invoice.created_at|date }}
{% endblock %} {% block content %} {% include "lingo/invoicing/invoice_fragment.html" with basket=invoice.basket_set.first %} {% if regie.invoice_custom_text %}
{{ regie.invoice_custom_text|safe }}
{% endif %} {% include "lingo/invoicing/invoice_details_fragment.html" %} {% endblock %}