39b62014b0
Add batch number to customer invoice header
2026-03-23 20:10:55 +01:00
a279c653e0
Change header from Faktura to Fakturaunderlag
2026-03-23 20:08:29 +01:00
81d28b5ee6
Reorder summary rows: Avrundningsfel, Öresutjämning, Totalt
2026-03-23 16:55:03 +01:00
a0df82ab35
Rename to Avrundningsfel, add Öresutjämning row, round total
...
Summary now shows:
- Product rows
- Avrundningsfel (rounding error)
- Totalt (rounded to nearest integer)
- Öresutjämning (difference from transactions to rounded total)
2026-03-23 16:53:02 +01:00
82cf4b34ac
Fix summary amount calculation and add Öresutjämning row
...
- Amount = round(volume, 2) * round(avg_price, 2)
- Add Öresutjämning showing difference between transaction sum and calculated total
2026-03-23 16:41:49 +01:00
03f643ba82
Reorder summary columns and calculate amount from volume * avg_price
...
Summary now shows: Produkt | Volym (L) | Snittpris/L | Belopp
Amount is calculated as volume * average_price instead of summing transactions.
2026-03-23 16:16:54 +01:00
a9e6d10954
Change header from Faktura to Fakturaunderlag
2026-03-23 15:50:47 +01:00
4119ad7059
Add summary section with product breakdown
...
- Show total volume, total amount, and average price per product
- Include grand total row
- Products sorted alphabetically
2026-03-23 10:57:35 +01:00
809f5d2a58
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
2026-03-23 10:51:43 +01:00
bc586e21e7
Translate UI to Swedish
2026-03-23 10:46:39 +01:00
650435e00c
Add invoice generator for fuel station transactions
...
- Read CSV files from input/ directory
- Generate static HTML invoices grouped by customer and card
- Filter transactions to only include fleet customers
- Compact print-friendly layout with 2 decimal precision
2026-03-23 10:36:14 +01:00