{% block logo %}
YOUR
LOGO
HERE
{% endblock %}
LOGO
HERE
{{ seller.get_name }}
{{ seller.vat }}
{{ seller.address }}
{{ seller.zipcode }} - {% trans seller.city %}
{% trans seller.get_country_display %}
{{ seller_info.phone }}
{{ seller_info.email }}
{{ seller_info.website }}
{% filter title %}{% trans bill.get_type_display %}{% endfilter %}
{{ bill.number }}
{{ bill.number }}
{% trans "DUE DATE" %}
{{ bill.due_on | default:default_due_date | date | capfirst }}
{% trans "TOTAL" %}
{{ bill.compute_total }} &{{ currency.lower }};
{% blocktrans with bill_type=bill.get_type_display.upper %}{{ bill_type }} DATE{% endblocktrans %}
{{ bill.closed_on | default:now | date | capfirst }}
{{ buyer.get_name }}
{{ buyer.vat }}
{{ buyer.address }}
{{ buyer.zipcode }} - {% trans buyer.city %}
{% trans buyer.get_country_display %}
{% endblock %}
{% block content %}
{% block lines %}
{{ buyer.vat }}
{{ buyer.address }}
{{ buyer.zipcode }} - {% trans buyer.city %}
{% trans buyer.get_country_display %}
id
{% trans "description" %}
{% trans "period" %}
{% trans "hrs/qty" %}
{% trans "rate/price" %}
{% trans "subtotal" %}
{% for line in lines %} {% with sublines=line.sublines.all description=line.description|slice:"38:" %} {% if not line.order_id %}L{% endif %}{{ line.order_id|default:line.pk }} {{ line.description|safe|slice:":38" }} {{ line.get_verbose_period }} {{ line.get_verbose_quantity|default:" "|safe }} {% if line.rate %}{{ line.rate }} &{{ currency.lower }};{% else %} {% endif %} {{ line.subtotal }} &{{ currency.lower }};
{% if description %} {{ description|safe|truncatechars:39 }} {% endif %} {% for subline in sublines %} {{ subline.description|safe|truncatechars:39 }} {{ subline.total }} &{{ currency.lower }};
{% endfor %} {% endwith %} {% endfor %}
{% endblock %}
{% block totals %}
{% for line in lines %} {% with sublines=line.sublines.all description=line.description|slice:"38:" %} {% if not line.order_id %}L{% endif %}{{ line.order_id|default:line.pk }} {{ line.description|safe|slice:":38" }} {{ line.get_verbose_period }} {{ line.get_verbose_quantity|default:" "|safe }} {% if line.rate %}{{ line.rate }} &{{ currency.lower }};{% else %} {% endif %} {{ line.subtotal }} &{{ currency.lower }};
{% if description %} {{ description|safe|truncatechars:39 }} {% endif %} {% for subline in sublines %} {{ subline.description|safe|truncatechars:39 }} {{ subline.total }} &{{ currency.lower }};
{% endfor %} {% endwith %} {% endfor %}
{% for tax, subtotal in bill.compute_subtotals.items %} {% trans "subtotal" %} {{ tax }}% {% trans "VAT" %} {{ subtotal | first }} &{{ currency.lower }};
{% trans "taxes" %} {{ tax }}% {% trans "VAT" %} {{ subtotal | last }} &{{ currency.lower }};
{% endfor %} {% trans "total" %} {{ bill.compute_total }} &{{ currency.lower }};