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>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>" +
|
$"<tr><th>Zweigstelle</th><td>{d.Branch.Name}</td></tr>" +
|
||||||
$"</tbody></table>";
|
$"</tbody></table>";
|
||||||
Text = App.Client.DeliveryNoteText;
|
Text = App.Client.TextDeliveryNote;
|
||||||
DocumentId = d.LsNr;
|
DocumentId = d.LsNr;
|
||||||
MemberBuckets = ctx.GetMemberBuckets(d.Member, d.Year).GetAwaiter().GetResult();
|
MemberBuckets = ctx.GetMemberBuckets(d.Member, d.Year).GetAwaiter().GetResult();
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ namespace Elwig.Helpers {
|
|||||||
public int DeliveryObligation;
|
public int DeliveryObligation;
|
||||||
public int DeliveryRight;
|
public int DeliveryRight;
|
||||||
|
|
||||||
public string? DeliveryNoteText;
|
public string? TextDeliveryNote;
|
||||||
|
|
||||||
public ClientParameters(AppDbContext ctx) : this(ctx.ClientParameters.ToDictionary(e => e.Param, e => e.Value)) { }
|
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"] ?? "");
|
DeliveryObligation = int.Parse(parameters["DELIVERY_OBLIGATION"] ?? "");
|
||||||
DeliveryRight = int.Parse(parameters["DELIVERY_RIGHT"] ?? "");
|
DeliveryRight = int.Parse(parameters["DELIVERY_RIGHT"] ?? "");
|
||||||
|
|
||||||
DeliveryNoteText = parameters.GetValueOrDefault("DELIVERY_NOTE_TEXT");
|
TextDeliveryNote = parameters.GetValueOrDefault("TEXT_DELIVERY_NOTE");
|
||||||
} catch {
|
} catch {
|
||||||
throw new KeyNotFoundException();
|
throw new KeyNotFoundException();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user