Erweiterungen

This commit is contained in:
2025-09-18 21:40:51 +02:00
parent 95eaabf41d
commit 79169cf9fd
3 changed files with 172 additions and 93 deletions

View File

@@ -9,6 +9,11 @@
margin: 1.5cm 1cm 1.5cm 2cm;
}
html,
body {
height: 100%;
}
body {
font-family: Arial, sans-serif;
font-size: 12pt;
@@ -17,6 +22,8 @@
border: 2px solid #1b12b9;
max-width: 21.001cm;
background-color: transparent;
display: flex;
flex-direction: column;
}
.header {
@@ -162,11 +169,16 @@
background-color: #e6e6e6;
}
.page-content {
flex: 1 0 auto;
}
.footer-text {
text-align: center;
font-size: 8pt;
font-family: Arial;
margin-top: 2cm;
margin-top: auto;
padding: 0.5cm 1cm;
}
.clear {
@@ -175,85 +187,84 @@
</style>
</head>
<body>
<div class="header">
<p class="company-name">
<b>{{companyName}}</b>
<div class="page-content">
<div class="header">
<p class="company-name">
<b>{{companyName}}</b>
</p>
<hr>
<p class="company-subtitle">
<b>{{companySubtitle}}</b>
</p>
</div>
<div class="recipient-box">
<p class="sender-line">{{senderLine}}</p>
<p class="recipient-content">{{recipientName}}</p>
<p class="recipient-content">{{recipientDepartment}}</p>
<p class="recipient-content">{{recipientStreet}}</p>
<p class="recipient-content">{{recipientCity}}</p>
</div>
<div class="company-address">
<p>{{companyStreet}}</p>
<p>{{companyCity}}</p>
<p> </p>
<p>Tel.: {{companyPhone}}</p>
<p>{{companyWebsite}}</p>
</div>
<div class="clear"></div>
<p class="contact-info">
Fax
<span style="margin-left: 60px">eMail</span>
<br/>
{{companyFax}}
<span>{{companyEmail}}</span>
</p>
<hr>
<p class="company-subtitle">
<b>{{companySubtitle}}</b>
<p class="invoice-date">
<span>Datum<br></span>
<span>{{invoiceDate}}</span>
</p>
<p class="subject">Rechnung {{invoiceNumber}}</p>
<p class="text-body">{{invoiceText}}</p>
<table class="invoice-table">
<tr>
<td class="table-header" style="width:2cm;">Menge</td>
<td class="table-header" style="width:9.999cm;">Bezeichnung</td>
<td class="table-header" style="width:3cm;">Einzelpreis</td>
<td class="table-header" style="width:3cm;">Gesamt</td>
</tr>
{{invoiceItems}}
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-header" style="width:3cm;">Nettobetrag</td>
<td class="table-cell summary-row table-cell-right" style="width:3cm;">{{netAmount}}</td>
</tr>
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-cell table-cell-right" style="width:3cm;">+ {{vatRate}}% MwSt.</td>
<td class="table-cell table-cell-right" style="width:3cm;">{{vatAmount}}</td>
</tr>
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-header" style="width:3cm;">Endbetrag</td>
<td class="table-cell summary-row table-cell-right" style="width:3cm;">{{totalAmount}}</td>
</tr>
</table>
<p class="text-body">{{paymentTerms}}</p>
</div>
<div class="recipient-box">
<p class="sender-line">{{senderLine}}</p>
<p class="recipient-content">{{recipientName}}</p>
<p class="recipient-content">{{recipientDepartment}}</p>
<p class="recipient-content">{{recipientStreet}}</p>
<p class="recipient-content">{{recipientCity}}</p>
</div>
<div class="company-address">
<p>{{companyStreet}}</p>
<p>{{companyCity}}</p>
<p> </p>
<p>Tel.: {{companyPhone}}</p>
<p>{{companyWebsite}}</p>
</div>
<div class="clear"></div>
<p class="contact-info">
Fax
<span style="margin-left: 60px">eMail</span>
<br/>
{{companyFax}}
<span>{{companyEmail}}</span>
</p>
<p class="invoice-date">
<span>Datum<br></span>
<span>{{invoiceDate}}</span>
</p>
<p class="subject">Rechnung {{invoiceNumber}}</p>
<p class="text-body">{{invoiceText}}</p>
<table class="invoice-table">
<tr>
<td class="table-header" style="width:2cm;">Menge</td>
<td class="table-header" style="width:9.999cm;">Bezeichnung</td>
<td class="table-header" style="width:3cm;">Einzelpreis</td>
<td class="table-header" style="width:3cm;">Gesamt</td>
</tr>
{{invoiceItems}}
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-header" style="width:3cm;">Nettobetrag</td>
<td class="table-cell summary-row table-cell-right" style="width:3cm;">{{netAmount}}</td>
</tr>
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-cell table-cell-right" style="width:3cm;">+ {{vatRate}}% MwSt.</td>
<td class="table-cell table-cell-right" style="width:3cm;">{{vatAmount}}</td>
</tr>
<tr>
<td class="table-cell" style="width:2cm;"> </td>
<td class="table-cell" style="width:9.999cm;"> </td>
<td class="table-header" style="width:3cm;">Endbetrag</td>
<td class="table-cell summary-row table-cell-right" style="width:3cm;">{{totalAmount}}</td>
</tr>
</table>
<br>
<p class="text-body">{{paymentTerms}}</p>
<br><br><br>
<p class="footer-text">
<span>{{footerText}}</span>
</p>
</body>
</html>
</html>