overhauled form system to new modern form

This commit is contained in:
2025-12-11 10:25:29 -05:00
parent 62defe5b6d
commit 92c0d657ea
3 changed files with 228 additions and 119 deletions

View File

@@ -15,12 +15,6 @@ router.post("/", async (req: Request, res: Response) => {
console.log(LOARequest);
try {
// const result = await pool.query(
// `INSERT INTO leave_of_absences
// (member_id, filed_date, start_date, end_date, reason)
// VALUES (?, ?, ?, ?, ?)`,
// [member_id, filed_date, start_date, end_date, reason]
// );
await createNewLOA(LOARequest);
res.sendStatus(201);
} catch (error) {