Refactoring

This commit is contained in:
DahoudG
2025-09-17 17:54:06 +00:00
parent 12d514d866
commit 63fe107f98
165 changed files with 54220 additions and 276 deletions

View File

@@ -298,3 +298,23 @@ class ExportCotisations extends CotisationsEvent {
@override
List<Object?> get props => [format, cotisations];
}
/// Événement pour charger l'historique des paiements
class LoadPaymentHistory extends CotisationsEvent {
final String? membreId;
final String? period;
final String? status;
final String? method;
final String? searchQuery;
const LoadPaymentHistory({
this.membreId,
this.period,
this.status,
this.method,
this.searchQuery,
});
@override
List<Object?> get props => [membreId, period, status, method, searchQuery];
}

View File

@@ -380,3 +380,13 @@ class NotificationsScheduled extends CotisationsState {
@override
List<Object?> get props => [notificationsCount, cotisationIds];
}
/// État d'historique des paiements chargé
class PaymentHistoryLoaded extends CotisationsState {
final List<PaymentModel> payments;
const PaymentHistoryLoaded(this.payments);
@override
List<Object?> get props => [payments];
}