fix: transaction
This commit is contained in:
@@ -427,11 +427,9 @@ export class TransactionService {
|
||||
return a.plus(b);
|
||||
}, new Decimal(0));
|
||||
|
||||
const coa = coas.find((it) => {
|
||||
(it) => {
|
||||
return it.id.toLowerCase() === coaId.toLowerCase();
|
||||
};
|
||||
});
|
||||
let coa = coas.find(
|
||||
(it) => it.id.toLowerCase() === coaId.toLowerCase(),
|
||||
);
|
||||
|
||||
let balance = new Decimal(coa.amount);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user