Update DELIVERY_NOTE_TEXT to TEXT_DELIVERY_NOTE
This commit is contained in:
@ -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