feat: Add logger service and improve expense dialog with enhanced receipt management and calculation logic.

This commit is contained in:
Van Leemput Dayron
2025-11-28 12:54:54 +01:00
parent cad9d42128
commit fd710b8cb8
35 changed files with 2148 additions and 1296 deletions

View File

@@ -117,10 +117,16 @@ class GroupRepository {
if (memberIds.isNotEmpty) {
await _groupsCollection.doc(groupId).update({'memberIds': memberIds});
print('Migration réussie pour le groupe $groupId');
_errorService.logSuccess(
'GroupRepository',
'Migration réussie pour le groupe $groupId',
);
}
} catch (e) {
print('Erreur de migration pour le groupe $groupId: $e');
_errorService.logError(
'GroupRepository',
'Erreur de migration pour le groupe $groupId: $e',
);
}
}