diff --git a/Elwig/Documents/DeliveryNote.cs b/Elwig/Documents/DeliveryNote.cs index 3f9463f..7aace45 100644 --- a/Elwig/Documents/DeliveryNote.cs +++ b/Elwig/Documents/DeliveryNote.cs @@ -5,6 +5,8 @@ using System.Collections.Generic; namespace Elwig.Documents { public class DeliveryNote : BusinessDocument { + public new static string Name => "Traubenübernahmeschein"; + public Delivery Delivery; public string? Text; public Dictionary MemberBuckets; @@ -15,7 +17,7 @@ namespace Elwig.Documents { // 3 - full public int DisplayStats = App.Client.ModeDeliveryNoteStats; - public DeliveryNote(Delivery d, AppDbContext? ctx = null) : base($"Traubenübernahmeschein Nr. {d.LsNr}", d.Member) { + public DeliveryNote(Delivery d, AppDbContext? ctx = null) : base($"{Name} Nr. {d.LsNr}", d.Member) { UseBillingAddress = true; ShowDateAndLocation = true; Delivery = d;