fix: function description

This commit is contained in:
Ahmed Bouhuolia
2024-08-12 10:54:16 +02:00
parent cb016be78c
commit be6f6e3c73
2 changed files with 5 additions and 2 deletions

View File

@@ -12,8 +12,8 @@ export class GetPendingBankAccountTransactions {
/**
* Retrieves the given bank accounts pending transaction.
* @param {number} tenantId
* @param {number} bankAccountId
* @param {number} tenantId - Tenant id.
* @param {GetPendingTransactionsQuery} filter - Pending transactions query.
*/
async getPendingTransactions(
tenantId: number,

View File

@@ -35,7 +35,10 @@ export class GetRecognizedTransactionsService {
q.withGraphFetched('recognizedTransaction.bankRule');
q.whereNotNull('recognizedTransactionId');
// Exclude the excluded transactions.
q.modify('notExcluded');
// Exclude the pending transactions.
q.modify('notPending');
if (_filter.accountId) {