diff --git a/Elwig/App.xaml.cs b/Elwig/App.xaml.cs
index 3371549..f0e4812 100644
--- a/Elwig/App.xaml.cs
+++ b/Elwig/App.xaml.cs
@@ -137,11 +137,6 @@ namespace Elwig {
base.OnStartup(evt);
}
- protected override void OnExit(ExitEventArgs evt) {
- Utils.RunBackground("PDF Close", () => Documents.Pdf.Close());
- base.OnExit(evt);
- }
-
private void PrintingReadyChanged() {
Dispatcher.BeginInvoke(OnPrintingReadyChanged, new EventArgs());
}
diff --git a/Elwig/Documents/BusinessDocument.cshtml b/Elwig/Documents/BusinessDocument.cshtml
index 5633e55..981a88f 100644
--- a/Elwig/Documents/BusinessDocument.cshtml
+++ b/Elwig/Documents/BusinessDocument.cshtml
@@ -14,6 +14,4 @@
-
- @RenderBody()
-
+@RenderBody()
diff --git a/Elwig/Documents/BusinessDocument.cshtml.cs b/Elwig/Documents/BusinessDocument.cshtml.cs
index 62cd759..b415bc3 100644
--- a/Elwig/Documents/BusinessDocument.cshtml.cs
+++ b/Elwig/Documents/BusinessDocument.cshtml.cs
@@ -13,7 +13,7 @@ namespace Elwig.Documents {
Location = App.BranchName;
IncludeSender = includeSender;
var uid = (m.UstIdNr ?? "-") + (m.IsBuchführend ? "" : " (pauschaliert)");
- Aside = $"
" +
+ Aside = $"" +
$"Mitglied |
" +
$"Mitglieds-Nr. | {m.MgNr} |
" +
$"Betriebs-Nr. | {m.LfbisNr} |
" +
diff --git a/Elwig/Documents/BusinessLetter.cshtml b/Elwig/Documents/BusinessLetter.cshtml
index d10323e..e6c9c67 100644
--- a/Elwig/Documents/BusinessLetter.cshtml
+++ b/Elwig/Documents/BusinessLetter.cshtml
@@ -2,6 +2,8 @@
@inherits TemplatePage
@model Elwig.Documents.BusinessLetter
@{ Layout = "BusinessDocument"; }
+
Sehr geehrtes Mitglied,
nein.
Mit freundlichen Grüßen
Ihre Winzergenossenschaft
+
diff --git a/Elwig/Documents/DeliveryNote.cshtml b/Elwig/Documents/DeliveryNote.cshtml
index 0627836..d89de8b 100644
--- a/Elwig/Documents/DeliveryNote.cshtml
+++ b/Elwig/Documents/DeliveryNote.cshtml
@@ -2,6 +2,7 @@
@inherits TemplatePage
@model Elwig.Documents.DeliveryNote
@{ Layout = "BusinessDocument"; }
+
@Model.Location, am @($"{Model.Date:dd.MM.yyyy}")
@Model.Title
@{
@@ -44,15 +45,15 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -115,13 +116,13 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -162,6 +163,7 @@
}
+
@for (int i = 0; i < 2; i++) {
@if (Model.Text != null) {
diff --git a/Elwig/Documents/Document.cshtml b/Elwig/Documents/Document.cshtml
index 01fbac3..d1d31bf 100644
--- a/Elwig/Documents/Document.cshtml
+++ b/Elwig/Documents/Document.cshtml
@@ -5,27 +5,24 @@
@Model.Title
+
-
+
+
+