{% extends "main.html" %} {% load filters %} {% load humanize %} {% block content %} {% if invoice.is_temporary %}
{% csrf_token %}
{% endif %}

Abrechnung {{ date }}

{% if invoice.correction_of != None %} download csv (difference only)
{% endif %} download csv (total amount)
{% for name in names %} {% endfor %} {% for name, name2 in price_each %} {% endfor %} {% for t in total %} {% endfor %} {% for loss, color, loss2, color2 in losses %} {% endfor %} {% for name in names %} {% endfor %} {% for user in users %} {% for i in user %} {% endfor %} {% endfor %}
Name Total{{ name }}
Preis {% if name2 != None %}
{{ name2|floatformat:2|intcomma }} €
{% endif %} {{ name|floatformat:2|intcomma }} €
Total{{ t|floatformat:2|intcomma }} €
Schwund {% if loss2 != None %}
{{ loss2|floatformat:2|intcomma }}%
{% endif %} {{ loss|floatformat:2|intcomma }}%
Name Total{{ name }}
{% if not forloop.first %}{{ i|floatformat:2|intcomma }} €{% else %}{{ i }}{% endif %}
{% endblock %}