{% extends 'accounting.html' %} {% load i18n static notify categories widget_tweaks %} {% block bodyclass %}{{ block.super }} hidden-breadcrumbs{% endblock %} {% block title %} {{ invoice.model_name }} #{{ invoice.id }} {% endblock %} {% block content %} {{ block.super }}

{{ invoice.model_name }} #{{ invoice.id }} ({{ invoice.get_type_display }}) {{ invoice.created|date:'d.m.Y' }}

{{ customer_select_form.customer|add_class:'invoice-customer-select' }}
{% trans 'Print' %}

{% include 'invoices/product-select-list.html' %} {% for item in invoice.get_items %} {{ item.render }} {% endfor %}
{% trans 'Code' %} {% trans 'Product' %} [ {% trans 'New product' %} ] {% trans 'Quantity' %} {% trans 'Price' %}
{% trans 'Total without discount' %}: {{ invoice.total }}
{% trans 'Discount' %}: % {{ invoice.discounted_total }}
{% trans 'Total' %}: {{ invoice.total_with_discount }}
{% endblock %} {% block extrastyle %} {{ block.super }} {% endblock %} {% block js %} {{ block.super }} {% notify_js %} {% endblock %}