template + route & controller
This commit is contained in:
parent
d6a13d657b
commit
2f72cc3925
3 changed files with 99 additions and 6 deletions
|
@ -21,6 +21,7 @@ import {
|
|||
getExecutivePositionByMemberAndRecord,
|
||||
getExecutivePositionsByMember,
|
||||
getMemberById,
|
||||
getMemberPrintoutById,
|
||||
getMembersByIds,
|
||||
getMembershipByMemberAndRecord,
|
||||
getMembershipsByMember,
|
||||
|
@ -55,6 +56,10 @@ router.get("/:id/statistics", async (req: Request, res: Response) => {
|
|||
await getMemberStatisticsById(req, res);
|
||||
});
|
||||
|
||||
router.get("/:id/print", async (req: Request, res: Response) => {
|
||||
await getMemberPrintoutById(req, res);
|
||||
});
|
||||
|
||||
router.get("/print/namelist", async (req: Request, res: Response) => {
|
||||
await createMemberPrintoutList(req, res);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue