Faktura - Kund {{ customer.customer_number }}

Batchar: {{ batches | join(", ") }}
Genererad: {{ generated_date }}
{% for card in customer.cards %}
Kort: {{ card.card_number }} {{ card.transactions.len() }} transaktioner
Summa: {{ card.total_amount }} | Volym: {{ card.total_volume }} L
{% for tx in card.transactions %} {% endfor %}
Datum Produkt Pris/L Volym (L) Belopp Kvitto
{{ tx.date }} {{ tx.quality_name }} {{ tx.price }} {{ tx.volume }} {{ tx.amount }} {{ tx.receipt }}
Kortsumma {{ card.total_volume }} {{ card.total_amount }}
{% endfor %}
Totalsumma:{{ customer.grand_total }}