mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
feat: excluded bank transactions
This commit is contained in:
@@ -65,7 +65,6 @@ export class RecognizeTranasctionsService {
|
||||
|
||||
if (batch) query.where('batch', batch);
|
||||
});
|
||||
|
||||
const bankRules = await BankRule.query().withGraphFetched('conditions');
|
||||
const bankRulesByAccountId = transformToMapBy(
|
||||
bankRules,
|
||||
@@ -92,7 +91,7 @@ export class RecognizeTranasctionsService {
|
||||
);
|
||||
}
|
||||
};
|
||||
await PromisePool.withConcurrency(MIGRATION_CONCURRENCY)
|
||||
const result = await PromisePool.withConcurrency(MIGRATION_CONCURRENCY)
|
||||
.for(uncategorizedTranasctions)
|
||||
.process((transaction: UncategorizedCashflowTransaction, index, pool) => {
|
||||
return regonizeTransaction(transaction);
|
||||
|
||||
Reference in New Issue
Block a user