fix: calculating

This commit is contained in:
ilham 2022-02-04 21:28:57 +07:00
parent 3e0f016408
commit 730d7fc3e4

View File

@ -1325,7 +1325,7 @@ export class TransactionService {
return {
coa_id: coaAccount.id,
credit: (totalPrice * commissionValue.commission) / 100,
credit: Math.floor((totalPrice * commissionValue.commission) / 100),
};
}),
);