Change header from Faktura to Fakturaunderlag

This commit is contained in:
2026-03-23 20:08:29 +01:00
parent d6f3e19215
commit a279c653e0

View File

@@ -1,7 +1,7 @@
<!DOCTYPE html> <!doctype html>
<html lang="sv"> <html lang="sv">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8" />
<title>Fakturaunderlag - Kund {{ customer.customer_number }}</title> <title>Fakturaunderlag - Kund {{ customer.customer_number }}</title>
<style> <style>
@page { @page {
@@ -60,7 +60,8 @@
border-collapse: collapse; border-collapse: collapse;
font-size: 11px; font-size: 11px;
} }
.summary-table th, .summary-table td { .summary-table th,
.summary-table td {
padding: 5px 8px; padding: 5px 8px;
text-align: left; text-align: left;
} }
@@ -100,7 +101,8 @@
border-collapse: collapse; border-collapse: collapse;
font-size: 11px; font-size: 11px;
} }
th, td { th,
td {
padding: 6px 8px; padding: 6px 8px;
text-align: left; text-align: left;
} }
@@ -109,7 +111,9 @@
font-weight: bold; font-weight: bold;
border-bottom: 1px solid #ccc; border-bottom: 1px solid #ccc;
} }
.amount, .volume, .price { .amount,
.volume,
.price {
text-align: right; text-align: right;
} }
.card-total { .card-total {
@@ -133,11 +137,11 @@
margin-left: 20px; margin-left: 20px;
} }
</style> </style>
</head> </head>
<body> <body>
<div class="header"> <div class="header">
<div> <div>
<h1>Faktura - Kund {{ customer.customer_number }}</h1> <h1>Fakturaunderlag - Kund {{ customer.customer_number }}</h1>
<div>Period: {{ period }}</div> <div>Period: {{ period }}</div>
</div> </div>
<div class="meta"> <div class="meta">
@@ -194,7 +198,8 @@
<span>{{ card.transactions.len() }} transaktioner</span> <span>{{ card.transactions.len() }} transaktioner</span>
</div> </div>
<div class="card-summary"> <div class="card-summary">
Summa: {{ card.total_amount }} Kr | Volym: {{ card.total_volume }} L Summa: {{ card.total_amount }} Kr | Volym: {{ card.total_volume
}} L
</div> </div>
<table> <table>
<thead> <thead>
@@ -232,5 +237,5 @@
<div class="grand-total"> <div class="grand-total">
Totalsumma:<span>{{ customer.summary.grand_total }} Kr</span> Totalsumma:<span>{{ customer.summary.grand_total }} Kr</span>
</div> </div>
</body> </body>
</html> </html>