DeliveryNote: Rework according to Herbert

This commit is contained in:
2023-10-10 16:24:16 +02:00
parent 9df8056616
commit 0e9bae4ec9
6 changed files with 41 additions and 15 deletions

View File

@ -9,6 +9,12 @@ namespace Elwig.Documents {
public string? Text;
public IEnumerable<(string, string, int, int, int)> MemberBuckets;
// 0 - none
// 1 - only business shares
// 2 - only business shares and area commitments of varieties from delivery note
// 3 - full
public int DisplayStats = 2;
public DeliveryNote(Delivery d, AppDbContext ctx) : base($"Traubenübernahmeschein Nr. {d.LsNr}", d.Member) {
UseBillingAddress = true;
ShowDateAndLocation = true;