{% extends "matrixhosting/base.html" %} {% load static i18n compress mathfilters %} {% block title %} Bills {% endblock %} {% block content %}

{% trans "Bills"%}

{% trans "Bill No."%}
{% trans "Creation Date"%}
{% trans "Amount"%}
{% trans "Due Date"%}
{% trans "Status"%}
{% for bill in object_list %}
Bill Lines:
{% for record in bill.bill_records.all %} {% endfor %}
Order Description Start Date End Date Subtotal Total
#{{record.order.id}} {{record.description}} {{record.starting_date|date:"Y-m-d"}} {{record.ending_date|date:"Y-m-d"}} {{record.subtotal}} {{record.sum}}

{% trans "Subtotal" %}

{{bill.subtotal}}

{{bill.billing_address.get_country_display}} VAT {{ bill.vat_rate|mul:100 }}%

{{bill.vat_amount}}

{% trans "Total" %}

{{bill.sum|floatformat:2}} CHF

{%endfor%}
{% endblock %} {% block js_extra %} {% endblock js_extra %}