DeliveryNote: Make stats changeable in BaseDataWindow

This commit is contained in:
2023-10-10 19:19:29 +02:00
parent 91a3786cd9
commit 7d8c670ed2
5 changed files with 65 additions and 5 deletions

View File

@ -10,10 +10,10 @@ namespace Elwig.Documents {
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
// 1 - GA only
// 2 - GA only and area commitments of varieties from delivery note
// 3 - full
public int DisplayStats = 2;
public int DisplayStats = App.Client.ModeDeliveryNoteStats;
public DeliveryNote(Delivery d, AppDbContext ctx) : base($"Traubenübernahmeschein Nr. {d.LsNr}", d.Member) {
UseBillingAddress = true;