{% for resource, data in resources.items %}
{{ resource }} |
{{ data.amount|floatformat:3|intcomma }} {{ invoice.currency }} |
{% for item in data.items %}
{{ forloop.counter }} |
{{ item.name }} {{ item.usage }} |
{{ item.amount|floatformat:3|intcomma }} {{ item.currency }} |
{% endfor %}
{% comment %}
{% for item in data.items %}
{{ forloop.counter }} |
{{ item.name }} {{ item.usage }} |
{{ item.amount|floatformat:3|intcomma }} {{ item.currency }} |
{% endfor %}
|
{% endcomment %}
|
{% endfor %}
|
Total: {{ invoice.amount|floatformat:3|intcomma }} {{ invoice.currency }} |