BusinessDocument: Add DateFrom to be used for ShowDateAndLocation
Some checks failed
Test / Run tests (push) Failing after 1m59s

This commit is contained in:
2026-04-07 12:02:48 +02:00
parent 278d79429b
commit 28799e8112
9 changed files with 18 additions and 19 deletions

View File

@@ -23,7 +23,8 @@ namespace Elwig.Documents {
public List<AreaCom> ActiveAreaCommitments = [];
public MemberDataSheet(Member m) :
base($"{Name} {m.AdministrativeName}", m) {
base($"{Name} {m.AdministrativeName}", m, DateOnly.FromDateTime(m.ModifiedAt)) {
ShowDateAndLocation = true;
DocumentId = $"{Name} {m.MgNr}";
}