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. * Retrieves the given bank accounts pending transaction.
* @param {number} tenantId * @param {number} tenantId - Tenant id.
* @param {number} bankAccountId * @param {GetPendingTransactionsQuery} filter - Pending transactions query.
*/ */
async getPendingTransactions( async getPendingTransactions(
tenantId: number, tenantId: number,

View File

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