mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 07:10:33 +00:00
fix: function description
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user