{% extends "base.html" %} {% load i18n %} {% load modeltags %} {% load arithmetictags %} {% load htmltags %} {% load filetags %} {% block title %}{% url project_detail proposal.project.id as project_url %}{% blocktrans with proposal.project as project and project_url as project_url %}Proposal for {{ project }}{% endblocktrans %}{% endblock %} {% block context_menu %}
{% endblock %} {% block content %}{% trans "Label" %} | {% trans "Category" %} | {% trans "Quantity" %} | {% trans "Unit price" %} | {% trans "Total price" %} | {% if user.get_profile.vat_number %}{% trans "VAT rate" %} | {% endif %}{% trans "Detail" %} |
---|---|---|---|---|---|---|
{{ proposalrow.label }} | {{ proposalrow.get_category_display }} | {{ proposalrow.quantity|floatformat:"-2" }} | {{ proposalrow.unit_price|floatformat:"-2" }} | {{ proposalrow.unit_price|multiply:proposalrow.quantity|floatformat:"-2" }} | {% if user.get_profile.vat_number %}{{ proposalrow.vat_rate|default:'' }} | {% endif %}{{ proposalrow.detail|default:''|linebreaksbr }} |
{% trans "Id" %} | {% trans "State" %} | {% trans "Amount" %} |
---|---|---|
{{ invoice.invoice_id }} | {{ invoice.get_state_display }} | {{ invoice.amount|default:""|floatformat }} |