{% extends 'admin/detail_form.html' %}
{% load i18n %}
{% block extrastyle %}
{{ block.super }}
{% endblock %}
{% block content %}
{% trans 'INVOICE ROWS' %} |
{% trans 'Product' %} |
{% trans 'Unit' %} |
{% trans 'Quantity' %} |
{% trans 'Price' %} |
{% trans 'Fee' %} |
{% trans 'Discount' %} |
{% trans 'Total' %} |
{% trans 'VAT Code' %} |
{% for r in obj.invoicerows.all %}
{{ r.get_description }} |
{{ r.m_unit|upper }} |
{{ r.quantity }} |
{{ r.price|floatformat:2 }} |
{{ r.fee|floatformat:2 }} |
{{ r.discount|floatformat:2 }} |
{{ r.get_total|floatformat:2 }} |
{{ r.vat.code }} |
{% endfor %}
{% trans 'VAT ROWS' %} |
{% trans 'VAT Name' %} |
{% trans 'Total VAT' %} |
{% trans 'Total Income' %} |
{% trans 'Total Fee' %} |
{% trans 'Total Discount' %} |
{% trans 'Total' %} |
{% trans 'VAT Code' %} |
{% for r in obj.vattotalinvoicerows.all %}
{{ r.vat.name }} |
{{ r.total_vat|floatformat:2 }} |
{{ r.total_income|floatformat:2 }} |
{{ r.total_fee|floatformat:2 }} |
{{ r.total_discount|floatformat:2 }} |
{{ r.total|floatformat:2 }} |
{{ r.vat.code }} |
{% endfor %}
{% trans 'TOTALS' %} |
|
{% trans 'Total VAT' %} |
{% trans 'Total Income' %} |
{% trans 'Total Fee' %} |
{% trans 'Total Discount' %} |
{% trans 'Total' %} |
{{ r.vat.code }} |
|
{{ obj.total_vat|floatformat:2 }} |
{{ obj.total_income|floatformat:2 }} |
{{ obj.total_fee|floatformat:2 }} |
{{ obj.total_discount|floatformat:2 }} |
{{ obj.totals.total|floatformat:2 }} |
|
{% endblock %}