enhanced loan management: added note field to loan creation and email templates

This commit is contained in:
2026-02-20 12:14:56 +01:00
parent a8dab549af
commit ee54d51f8b
3 changed files with 73 additions and 35 deletions

View File

@@ -62,6 +62,7 @@ router.post("/createLoan", authenticate, async (req, res) => {
mailInfo.data.start_date,
mailInfo.data.end_date,
mailInfo.data.created_at,
mailInfo.data.note,
);
return res.status(201).json({
message: "Loan created successfully",