{% extends "base.html" %} {% load i18n %} {% load modeltags %} {% load arithmetictags %} {% block title %}{% url contact_detail invoice.customer.id as customer_url %}{% blocktrans with invoice.customer as customer and customer_url as customer_url %}Invoice for {{ customer }}{% endblocktrans %}{% endblock %} {% block context_menu %}
{% endblock %} {% block content %}{% trans "Label" %} | {% trans "Proposal" %} | {% trans "Balance payments" %} | {% trans "Category" %} | {% trans "Quantity" %} | {% trans "Unit price" %} | {% trans "Total price" %} | {% if user.get_profile.vat_number %}{% trans "VAT rate" %} | {% endif %}{% trans "Detail" %} |
---|---|---|---|---|---|---|---|---|
{{ invoicerow.label }} | {% if invoicerow.proposal %}{{ invoicerow.proposal }}{% endif %} | {% if invoicerow.proposal %}{% if invoicerow.balance_payments %}{% trans "yes" %}{% else %}{% trans "no" %}{% endif %}{% endif %} | {{ invoicerow.get_category_display }} | {{ invoicerow.quantity|floatformat:"-2" }} | {{ invoicerow.unit_price|floatformat:"-2" }} | {{ invoicerow.amount|floatformat:"-2" }} | {% if user.get_profile.vat_number %}{{ invoicerow.vat_rate|default:'' }} | {% endif %}{{ invoicerow.detail|default:''|linebreaksbr }} |