From 6cf5e0d45e1864365cfe8117861b329c988e831c Mon Sep 17 00:00:00 2001 From: Lorenz Stechauner Date: Sat, 23 Dec 2023 23:05:11 +0100 Subject: [PATCH] Documents: Change wording in documents --- Elwig/Documents/BusinessDocument.cs | 2 +- Elwig/Documents/CreditNote.cshtml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Elwig/Documents/BusinessDocument.cs b/Elwig/Documents/BusinessDocument.cs index 5e38075..a997e3a 100644 --- a/Elwig/Documents/BusinessDocument.cs +++ b/Elwig/Documents/BusinessDocument.cs @@ -125,7 +125,7 @@ namespace Elwig.Documents { Lieferrecht {(includeDelivery ? "Unterliefert" : "")} {(includeDelivery ? "Noch lieferbar" : "")} - {(includeDelivery ? "Geliefert" : "")} + {(includeDelivery ? "Überliefert" : "")} {(includePayment ? "Zugeteilt" : "")} {(includeDelivery ? "Geliefert" : "")} diff --git a/Elwig/Documents/CreditNote.cshtml b/Elwig/Documents/CreditNote.cshtml index 3d98f80..cbd101c 100644 --- a/Elwig/Documents/CreditNote.cshtml +++ b/Elwig/Documents/CreditNote.cshtml @@ -103,12 +103,13 @@ if (Model.Credit == null) { @Raw(FormatRow("Gesamtbetrag", Model.Payment.Amount, bold: true, halfLine: totalLine)) totalLine = true; + // TODO Mock VAT } else { var hasPrev = Model.Credit.PrevNetAmount != null; @Raw(FormatRow(hasPrev ? "Gesamtbetrag" : "Nettobetrag", Model.Credit.NetAmount, bold: true, halfLine: totalLine)) totalLine = true; if (hasPrev) { - @Raw(FormatRow("Bisher ausgezahlt", -Model.Credit.PrevNetAmount, add: true)) + @Raw(FormatRow("Bisher berücksichtigt", -Model.Credit.PrevNetAmount, add: true)) @Raw(FormatRow("Nettobetrag", Model.Credit.NetAmount - (Model.Credit.PrevNetAmount ?? 0))) } @Raw(FormatRow($"Mehrwertsteuer ({Model.Credit.Vat * 100} %)", Model.Credit.VatAmount, add: true))