Adresse
This commit is contained in:
@@ -128,7 +128,7 @@ Handlebars.registerHelper("get-provision-betrag", function (ausweisart, ausweist
|
|||||||
});
|
});
|
||||||
|
|
||||||
const template = Handlebars.compile(abrechnungTemplateHTML);
|
const template = Handlebars.compile(abrechnungTemplateHTML);
|
||||||
const html = template({ monat: datum.format("MMMM YYYY"), bestellungen: blocks, heute: moment().format("DD.MM.YYYY") });
|
const html = template({ monat: datum.format("MMMM YYYY"), bestellungen: blocks, heute: moment().format("DD.MM.YYYY"), plz: benutzer.plz, ort: benutzer.ort, adresse: benutzer.adresse, firma: benutzer.firma, email: benutzer.email });
|
||||||
await page.goto(`data:text/html;charset=UTF-8,${encodeURIComponent(html)}`, {
|
await page.goto(`data:text/html;charset=UTF-8,${encodeURIComponent(html)}`, {
|
||||||
waitUntil: "networkidle0",
|
waitUntil: "networkidle0",
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -23,9 +23,9 @@
|
|||||||
<p class="text-sm">IB Cornelsen · Katendeich 5A · 21035 Hamburg</p>
|
<p class="text-sm">IB Cornelsen · Katendeich 5A · 21035 Hamburg</p>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-col">
|
<div class="flex flex-col">
|
||||||
<p>Immowelt GmbH</p>
|
<p>{{ @root.firma }}</p>
|
||||||
<p>Nordostpark 3-5</p>
|
<p>{{ @root.adresse }}</p>
|
||||||
<p>90411 Nürnberg</p>
|
<p>{{ @root.plz }} {{ @root.ort }}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|||||||
Reference in New Issue
Block a user