Add Kr currency unit and period display

- Show Kr after all amounts and prices
- Replace batch reference with period (first-last date)
- Same period shown on all customer invoices
This commit is contained in:
2026-03-23 10:51:43 +01:00
parent bc586e21e7
commit 809f5d2a58
3 changed files with 18 additions and 11 deletions

View File

@@ -104,7 +104,7 @@
<div class="header">
<div>
<h1>Faktura - Kund {{ customer.customer_number }}</h1>
<div>Batchar: {{ batches | join(", ") }}</div>
<div>Period: {{ period }}</div>
</div>
<div class="meta">
<div>Genererad: {{ generated_date }}</div>
@@ -118,7 +118,7 @@
<span>{{ card.transactions.len() }} transaktioner</span>
</div>
<div class="card-summary">
Summa: {{ card.total_amount }} | Volym: {{ card.total_volume }} L
Summa: {{ card.total_amount }} Kr | Volym: {{ card.total_volume }} L
</div>
<table>
<thead>
@@ -154,7 +154,7 @@
{% endfor %}
<div class="grand-total">
Totalsumma:<span>{{ customer.grand_total }}</span>
Totalsumma:<span>{{ customer.grand_total }} Kr</span>
</div>
</body>
</html>