basta localizzazioni per ora

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-30 10:25:52 +02:00
parent 8d3ca62304
commit 11c1e28aaa
23 changed files with 720 additions and 213 deletions

View File

@@ -24,7 +24,7 @@ class CoreRepository {
return CompanyModel.fromMap(response);
} catch (e) {
debugPrint('Errore recupero azienda: $e');
throw Exception('Errore recupero azienda: $e');
throw Exception('$e');
}
}
@@ -38,7 +38,7 @@ class CoreRepository {
if (response == null) return null;
return CompanyModel.fromMap(response);
} catch (e) {
debugPrint('Errore recupero azienda per ID: $e');
debugPrint('$e');
return null;
}
}
@@ -55,7 +55,7 @@ class CoreRepository {
return (response as List).map((s) => StoreModel.fromMap(s)).toList();
} catch (e) {
debugPrint('Errore recupero negozi: $e');
throw Exception('Errore recupero negozi: $e');
throw Exception('$e');
}
}
@@ -71,7 +71,7 @@ class CoreRepository {
return StaffMemberModel.fromMap(response);
} catch (e) {
debugPrint('Errore recupero profilo staff: $e');
throw Exception('Errore recupero profilo staff: $e');
throw Exception('$e');
}
}
@@ -87,7 +87,7 @@ class CoreRepository {
return CompanyModel.fromMap(response);
} catch (e) {
debugPrint('Creazione azienda fallita: $e');
throw Exception('Creazione azienda fallita: $e');
throw Exception('$e');
}
}
@@ -101,7 +101,7 @@ class CoreRepository {
return StoreModel.fromMap(response);
} catch (e) {
debugPrint('Creazione negozio fallita: $e');
throw Exception('Creazione negozio fallita: $e');
throw Exception('$e');
}
}
@@ -120,7 +120,7 @@ class CoreRepository {
return StaffMemberModel.fromMap(response);
} catch (e) {
debugPrint('Creazione profilo staff fallita: $e');
throw Exception('Creazione profilo staff fallita: $e');
throw Exception('$e');
}
}