gemcap-be-common 1.3.6 → 1.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -51,6 +51,7 @@ class LoanTransactionsService {
|
|
|
51
51
|
this.lockService = lockService;
|
|
52
52
|
this.termLoanService = termLoanService;
|
|
53
53
|
this.uploadsService = uploadsService;
|
|
54
|
+
this.config = config;
|
|
54
55
|
}
|
|
55
56
|
async getTransactionsById(transactionId) {
|
|
56
57
|
return LoanTransaction_model_1.LoanTransaction.findById(transactionId).lean();
|
|
@@ -893,7 +894,7 @@ class LoanTransactionsService {
|
|
|
893
894
|
const dailyTransactions = await this.getUnsentTransactionForDate(borrower._id.toString(), effectiveDate);
|
|
894
895
|
const transactionIds = dailyTransactions.map((tr) => tr._id.toString());
|
|
895
896
|
const { transactions, transactionIdsToMark, } = await this.getTransactionReport(transactionIds, borrower._id.toString(), effectiveDate);
|
|
896
|
-
console.log(borrower.name,
|
|
897
|
+
console.log(borrower.name, transactionIdsToMark.length);
|
|
897
898
|
if (transactionIdsToMark.length === 0) {
|
|
898
899
|
return;
|
|
899
900
|
}
|
|
@@ -85,6 +85,7 @@ export class LoanTransactionsService {
|
|
|
85
85
|
private readonly termLoanService: TermLoanService,
|
|
86
86
|
private readonly uploadsService: UploadsService,
|
|
87
87
|
) {
|
|
88
|
+
this.config = config;
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
async getTransactionsById(transactionId: string) {
|
|
@@ -994,7 +995,7 @@ export class LoanTransactionsService {
|
|
|
994
995
|
transactions,
|
|
995
996
|
transactionIdsToMark,
|
|
996
997
|
} = await this.getTransactionReport(transactionIds, borrower._id.toString(), effectiveDate);
|
|
997
|
-
console.log(borrower.name,
|
|
998
|
+
console.log(borrower.name, transactionIdsToMark.length);
|
|
998
999
|
if (transactionIdsToMark.length === 0) {
|
|
999
1000
|
return;
|
|
1000
1001
|
}
|