fix: bank rules

This commit is contained in:
Ahmed Bouhuolia
2024-07-02 12:16:51 +02:00
parent 50861940a8
commit 8a09de9771
15 changed files with 87 additions and 55 deletions

View File

@@ -98,14 +98,14 @@ export default class UncategorizedCashflowTransaction extends mixin(
* Filters the not excluded transactions.
*/
notExcluded(query) {
query.whereNull('excluded');
query.whereNull('excluded_at');
},
/**
* Filters the excluded transactions.
*/
excluded(query) {
query.where('excluded', true)
query.whereNotNull('excluded_at')
}
};
},