Feat: Fügt einen Task zur Generierung der Transaktionen anhand der wiederkehrenden Transaktionen hinzu
This commit is contained in:
@@ -50,6 +50,7 @@ class TransactionRepository {
|
||||
final double? amountMin,
|
||||
final double? amountMax,
|
||||
final Account? account,
|
||||
final RecurringTransaction? recurringTransaction,
|
||||
final int? limit,
|
||||
final int? offset,
|
||||
final String? orderBy,
|
||||
@@ -93,6 +94,12 @@ class TransactionRepository {
|
||||
query.where((final t) => t.accountId.equals(account.id));
|
||||
}
|
||||
|
||||
if (recurringTransaction != null) {
|
||||
query.where(
|
||||
(final t) => t.recurringTransactionId.equals(recurringTransaction.id),
|
||||
);
|
||||
}
|
||||
|
||||
if (limit != null) {
|
||||
query.limit(limit, offset: offset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user