diff --git a/src/controller/admin/club/memberController.ts b/src/controller/admin/club/memberController.ts index 4c128c5..6301cec 100644 --- a/src/controller/admin/club/memberController.ts +++ b/src/controller/admin/club/memberController.ts @@ -152,6 +152,7 @@ export async function getMemberPrintoutById(req: Request, res: Response): Promis let qualifications = await MemberQualificationService.getAll(memberId); let positions = await MemberExecutivePositionService.getAll(memberId); let communications = await CommunicationService.getAll(memberId); + let educations = await MemberEducationService.getAll(memberId); let pdf = await PdfExport.renderFile({ title: "Mitglieder-Ausdruck", @@ -165,6 +166,7 @@ export async function getMemberPrintoutById(req: Request, res: Response): Promis qualifications, positions, communications, + educations, }, }); diff --git a/src/templates/member.body.template.html b/src/templates/member.body.template.html index 67f8821..6fd781c 100644 --- a/src/templates/member.body.template.html +++ b/src/templates/member.body.template.html @@ -58,7 +58,7 @@
{{/each}} {{/if}} {{#if qualifications.length}}
-

Qualifikationen

+

Qualifikationen / Funktionen

{{#each qualifications}}

{{this.qualification.qualification}}: {{date this.date}}

@@ -69,6 +69,19 @@ {{/if}}

+ {{/each}} {{/if}} {{#if educations.length}} +
+

Aus-/Fortbildungen

+ {{#each educations}} +
+

{{this.education.education}}: {{date this.start}}{{#if this.end}} bis {{date this.end}}{{/if}}

+ {{#if this.place}} +

Ausbildungsort: {{this.place}}

+ {{/if}}{{#if this.note}} +

Notiz: {{this.note}}

+ {{/if}} +
+
{{/each}} {{/if}}