Update DELIVERY_NOTE_TEXT to TEXT_DELIVERY_NOTE

This commit is contained in:
2023-08-31 22:36:53 +02:00
parent 4817a2aedc
commit effc9f9230
2 changed files with 3 additions and 3 deletions

View File

@ -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();
}