@tomei/finance 0.5.2 → 0.5.4
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/dist/account/account.js.map +1 -1
- package/dist/customer/customer.js +2 -1
- package/dist/customer/customer.js.map +1 -1
- package/dist/finance-company/finance-company.js +0 -1
- package/dist/finance-company/finance-company.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/account/account.ts +0 -1
- package/src/customer/customer.ts +3 -1
- package/src/finance-company/finance-company.ts +0 -1
package/package.json
CHANGED
package/src/account/account.ts
CHANGED
package/src/customer/customer.ts
CHANGED
|
@@ -288,10 +288,12 @@ export default abstract class FinanceCustomerBase
|
|
|
288
288
|
dbTransaction = await FinanceDb.getConnection().transaction();
|
|
289
289
|
}
|
|
290
290
|
|
|
291
|
+
const AR = await this.AccountReceivable;
|
|
292
|
+
|
|
291
293
|
const ledgerTransactions =
|
|
292
294
|
await FinanceCustomerBase._LedgerTransactionRepository.findAll({
|
|
293
295
|
where: {
|
|
294
|
-
AccountNo:
|
|
296
|
+
AccountNo: AR.AccountNo,
|
|
295
297
|
},
|
|
296
298
|
transaction: dbTransaction,
|
|
297
299
|
});
|
|
@@ -456,7 +456,6 @@ export default class FinanceCompany extends ObjectBase {
|
|
|
456
456
|
'Finance Company Create Account: After accSystemAccountId Create',
|
|
457
457
|
);
|
|
458
458
|
|
|
459
|
-
account.PostedToAccSystemYN = 'Y';
|
|
460
459
|
console.log('Finance Company Create Account: Before new Account Create');
|
|
461
460
|
const newAccount = await account.save(
|
|
462
461
|
this.CompanyId,
|