Update staging #567

Merged
IB-Cornelsen merged 21 commits from dev into staging 2025-09-12 15:13:26 +00:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 366e813f29 - Show all commits

View File

@@ -128,7 +128,7 @@ Handlebars.registerHelper("get-provision-betrag", function (ausweisart, ausweist
});
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)}`, {
waitUntil: "networkidle0",
});

View File

@@ -23,9 +23,9 @@
<p class="text-sm">IB Cornelsen · Katendeich 5A · 21035 Hamburg</p>
</div>
<div class="flex flex-col">
<p>Immowelt GmbH</p>
<p>Nordostpark 3-5</p>
<p>90411 Nürnberg</p>
<p>{{ @root.firma }}</p>
<p>{{ @root.adresse }}</p>
<p>{{ @root.plz }} {{ @root.ort }}</p>
</div>
</div>
{{/if}}