salutation CRUD and controller
This commit is contained in:
parent
b55d0554e4
commit
1ab4d93d2b
10 changed files with 288 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
import { member } from "../../../../entity/club/member/member";
|
||||
import { MemberStatisticsViewModel, MemberViewModel } from "../../../../viewmodel/admin/club/member/member.models";
|
||||
import { memberView } from "../../../../views/memberView";
|
||||
import SalutationFactory from "../../settings/salutation";
|
||||
import CommunicationFactory from "./communication";
|
||||
import MembershipFactory from "./membership";
|
||||
|
||||
|
@ -13,7 +14,7 @@ export default abstract class MemberFactory {
|
|||
public static mapToSingle(record: member): MemberViewModel {
|
||||
return {
|
||||
id: record?.id,
|
||||
salutation: record?.salutation,
|
||||
salutation: SalutationFactory.mapToSingle(record?.salutation),
|
||||
firstname: record?.firstname,
|
||||
lastname: record?.lastname,
|
||||
nameaffix: record?.nameaffix,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue