MemberAdminWindow: Allow user to keep AreaCom YearTo when transfering
All checks were successful
Test / Run tests (push) Successful in 2m49s

This commit is contained in:
2024-08-24 13:35:14 +02:00
parent 2ae2564647
commit bec1b165bf
5 changed files with 19 additions and 5 deletions

View File

@ -597,7 +597,7 @@ namespace Elwig.Services {
KgNr = c.KgNr,
GstNr = c.GstNr,
RdNr = c.RdNr,
YearFrom = year,
YearFrom = vm.MaintainAreaComYearTo ? c.YearFrom : year,
YearTo = c.YearTo,
}));