{% block logo %}
YOUR
LOGO
HERE
{% endblock %}
LOGO
HERE
{{ seller.name }}
{{ seller.address }}
{{ seller.zipcode }} - {{ seller.city }}
{{ seller.country }}
{{ seller_info.phone }}
{{ seller_info.email }}
{{ seller_info.website }}
{{ bill.get_type_display.capitalize }}
{{ bill.number }}
{{ bill.number }}
DUE DATE
{{ bill.due_on | default:default_due_date | date }}
TOTAL
{{ bill.get_total }} &{{ currency.lower }};
{{ bill.get_type_display.upper }} DATE
{{ bill.closed_on | default:now | date }}
{{ buyer.name }}
{{ buyer.vat }}
{{ buyer.address }}
{{ buyer.zipcode }} - {{ buyer.city }}
{{ buyer.country }}
{% endblock %}
{% block content %}
{{ buyer.vat }}
{{ buyer.address }}
{{ buyer.zipcode }} - {{ buyer.city }}
{{ buyer.country }}
id
description
hrs/qty
rate/price
subtotal
{% for line in lines %} {% with sublines=line.sublines.all %} {{ line.id }} {{ line.description }} {{ line.quantity|default:" " }} {% if line.rate %}{{ line.rate }} &{{ currency.lower }};{% else %} {% endif %} {{ line.subtotal }} &{{ currency.lower }};
{% for subline in sublines %} {{ subline.description }} {{ subline.total }} &{{ currency.lower }};
{% endfor %} {% endwith %} {% endfor %}
{% for line in lines %} {% with sublines=line.sublines.all %} {{ line.id }} {{ line.description }} {{ line.quantity|default:" " }} {% if line.rate %}{{ line.rate }} &{{ currency.lower }};{% else %} {% endif %} {{ line.subtotal }} &{{ currency.lower }};
{% for subline in sublines %} {{ subline.description }} {{ subline.total }} &{{ currency.lower }};
{% endfor %} {% endwith %} {% endfor %}
{% for tax, subtotal in bill.get_subtotals.iteritems %} subtotal {{ tax }}% VAT {{ subtotal | first }} &{{ currency.lower }};
taxes {{ tax }}% VAT {{ subtotal | last }} &{{ currency.lower }};
{% endfor %} total {{ bill.get_total }} &{{ currency.lower }};