change: viewmodell reading
This commit is contained in:
parent
8b08dda934
commit
2e69f87578
7 changed files with 26 additions and 8 deletions
|
@ -3,6 +3,7 @@ import { MemberStatisticsViewModel, MemberViewModel } from "../../../../viewmode
|
|||
import { memberView } from "../../../../views/memberView";
|
||||
import SalutationFactory from "../../settings/salutation";
|
||||
import CommunicationFactory from "./communication";
|
||||
import DateMappingHelper from "./dateMappingHelper";
|
||||
import MembershipFactory from "./membership";
|
||||
|
||||
export default abstract class MemberFactory {
|
||||
|
@ -59,7 +60,7 @@ export default abstract class MemberFactory {
|
|||
birthdate: record.birthdate,
|
||||
todayAge: record.todayAge,
|
||||
ageThisYear: record.ageThisYear,
|
||||
exactAge: record.exactAge,
|
||||
exactAge: DateMappingHelper.mapDate(record.exactAge),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue