feat(frontend): download responsable history csv

This commit is contained in:
SaidSoighiri94
2026-07-23 09:42:01 +02:00
parent 95c9080777
commit c85fab8ca3
4 changed files with 120 additions and 11 deletions
@@ -29,6 +29,12 @@ class ResponsableService {
static Future<List<Map<String, dynamic>>> historique() =>
_liste("/responsable/historique");
static Future<ApiFile> exporterHistorique() => ApiClient.getFile(
"/responsable/historique/export.csv",
fallbackFileName: "historique-responsable.csv",
utilisateurEmail: _email,
);
static Future<int> marquerNotificationsLues() async {
final reponse = await ApiClient.patch(
"/responsable/notifications/lu-toutes",