start writing letter head with kundennummer, rechnungsnummer and rechnungsdatum
This commit is contained in:
@@ -42,6 +42,7 @@
|
||||
#letter_head_content {
|
||||
background-color: lightblue;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
|
||||
@@ -57,15 +58,30 @@
|
||||
</div>
|
||||
<div id="letter_head_content">
|
||||
{% for address in envelope.AddressContent.Contents %}
|
||||
{% if address.Head %}
|
||||
{% if address.Head %}
|
||||
<p><strong>{{ address.Head }}</strong></p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<p>{{ address.Text | replace('\n', '<br>') }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
|
||||
<!-- HTML Content -->
|
||||
<table>
|
||||
<tr>
|
||||
<td>Rechnungsnummer:</td>
|
||||
<td>Kundennummer:</td>
|
||||
<td>Rechnungsdatum:</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>{{ invoice.Id }}</td>
|
||||
<td>{{ invoice.CustomerId }}</td>
|
||||
<td>{{ invoice.InvoiceDate }}</td>
|
||||
</tr>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
To PDF or not to PDF
|
||||
|
||||
<section>
|
||||
|
||||
Reference in New Issue
Block a user