Invoice - Customer {{ customer.customer_number }}

Batches: {{ batches | join(", ") }}
Generated: {{ generated_date }}
{% for card in customer.cards %}
Card: {{ card.card_number }} {{ card.transactions.len() }} transactions
Total: {{ card.total_amount }} | Volume: {{ card.total_volume }} L
{% for tx in card.transactions %} {% endfor %}
Date Product Price/L Volume (L) Amount Receipt
{{ tx.date }} {{ tx.quality_name }} {{ tx.price }} {{ tx.volume }} {{ tx.amount }} {{ tx.receipt }}
Card Total {{ card.total_volume }} {{ card.total_amount }}
{% endfor %}
Grand Total:{{ customer.grand_total }}