feat: Add logger service and improve expense dialog with enhanced receipt management and calculation logic.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
// ignore_for_file: avoid_print
|
||||
import 'package:firebase_core/firebase_core.dart';
|
||||
import 'package:firebase_storage/firebase_storage.dart';
|
||||
import 'package:travel_mate/firebase_options.dart';
|
||||
@@ -32,7 +33,7 @@ void main() async {
|
||||
final location = customMeta['location'] ?? 'Inconnue';
|
||||
final normalizedLocation =
|
||||
customMeta['normalizedLocation'] ?? 'Non définie';
|
||||
final source = customMeta['source'] ?? 'Inconnue';
|
||||
|
||||
final uploadedAt = customMeta['uploadedAt'] ?? 'Inconnue';
|
||||
|
||||
// Récupérer l'URL de téléchargement
|
||||
@@ -76,18 +77,17 @@ void main() async {
|
||||
|
||||
int totalDuplicates = 0;
|
||||
for (final entry in locationGroups.entries) {
|
||||
final location = entry.key;
|
||||
final images = entry.value;
|
||||
|
||||
if (images.length > 1) {
|
||||
totalDuplicates += images.length - 1;
|
||||
|
||||
for (int i = 0; i < images.length; i++) {
|
||||
final image = images[i];
|
||||
}
|
||||
for (int i = 0; i < images.length; i++) {}
|
||||
} else {}
|
||||
}
|
||||
|
||||
if (totalDuplicates > 0) {}
|
||||
} catch (e) {}
|
||||
} catch (e) {
|
||||
print('Erreur globale: $e');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user