feat(loans): confirm declared material state changes

This commit is contained in:
SaidSoighiri94
2026-07-24 13:41:40 +02:00
parent 3739e9b0a0
commit a562b3248f
26 changed files with 1832 additions and 282 deletions
+7 -1
View File
@@ -1,8 +1,14 @@
import { Router } from 'express';
import { getMesEmprunts, postEmprunt, postRestitution } from '../controllers/emprunt.controller';
import {
getMesEmprunts,
postAlerteChangementRetour,
postEmprunt,
postRestitution,
} from '../controllers/emprunt.controller';
export const empruntRoutes: Router = Router();
empruntRoutes.post('/', postEmprunt);
empruntRoutes.post('/:id/alerte-changement-retour', postAlerteChangementRetour);
empruntRoutes.post('/:id/restitution', postRestitution);
export const mesEmpruntsRoutes: Router = Router();