Documents: Fix letterhead and other problems
Test / Run tests (push) Successful in 2m39s

This commit is contained in:
lorenz.stechauner committed 2026-03-27 12:06:19 +01:00
1 parent 982a6616e1
commit 3c52156b7e
6 files changed
+79 -63

No files matched your search

+2 -2
View File
@@ -37,8 +37,8 @@ namespace Elwig.Documents {
MemberBuckets = ctx?.GetMemberBuckets(d.Year, d.Member.MgNr).GetAwaiter().GetResult() ?? [];
}
protected override void RenderHeader(iText.Layout.Document doc, PdfDocument pdf) {
base.RenderHeader(doc, pdf);
protected override void BeforeRenderBody(iText.Layout.Document doc, PdfDocument pdf) {
base.BeforeRenderBody(doc, pdf);
Aside?.AddCell(NewAsideCell("Lieferung", 2))
.AddCell(NewAsideCell("LS-Nr.:", isName: true)).AddCell(NewAsideCell(Delivery.LsNr))
.AddCell(NewAsideCell("Datum/Zeit:", isName: true)).AddCell(NewAsideCell($"{Delivery.Date:dd.MM.yyyy} / {Delivery.Time:HH:mm}"))