Update DELIVERY_NOTE_TEXT to TEXT_DELIVERY_NOTE
This commit is contained in:
@ -17,7 +17,7 @@ namespace Elwig.Documents {
|
||||
$"<tr><th>Datum/Zeit</th><td>{d.Date:dd.MM.yyyy} / {d.Time:HH:mm}</td></tr>" +
|
||||
$"<tr><th>Zweigstelle</th><td>{d.Branch.Name}</td></tr>" +
|
||||
$"</tbody></table>";
|
||||
Text = App.Client.DeliveryNoteText;
|
||||
Text = App.Client.TextDeliveryNote;
|
||||
DocumentId = d.LsNr;
|
||||
MemberBuckets = ctx.GetMemberBuckets(d.Member, d.Year).GetAwaiter().GetResult();
|
||||
}
|
||||
|
@ -44,7 +44,7 @@ namespace Elwig.Helpers {
|
||||
public int DeliveryObligation;
|
||||
public int DeliveryRight;
|
||||
|
||||
public string? DeliveryNoteText;
|
||||
public string? TextDeliveryNote;
|
||||
|
||||
public ClientParameters(AppDbContext ctx) : this(ctx.ClientParameters.ToDictionary(e => e.Param, e => e.Value)) { }
|
||||
|
||||
@ -77,7 +77,7 @@ namespace Elwig.Helpers {
|
||||
DeliveryObligation = int.Parse(parameters["DELIVERY_OBLIGATION"] ?? "");
|
||||
DeliveryRight = int.Parse(parameters["DELIVERY_RIGHT"] ?? "");
|
||||
|
||||
DeliveryNoteText = parameters.GetValueOrDefault("DELIVERY_NOTE_TEXT");
|
||||
TextDeliveryNote = parameters.GetValueOrDefault("TEXT_DELIVERY_NOTE");
|
||||
} catch {
|
||||
throw new KeyNotFoundException();
|
||||
}
|
||||
|
Reference in New Issue
Block a user