fix: calculating
This commit is contained in:
parent
3e0f016408
commit
730d7fc3e4
|
@ -1325,7 +1325,7 @@ export class TransactionService {
|
||||||
|
|
||||||
return {
|
return {
|
||||||
coa_id: coaAccount.id,
|
coa_id: coaAccount.id,
|
||||||
credit: (totalPrice * commissionValue.commission) / 100,
|
credit: Math.floor((totalPrice * commissionValue.commission) / 100),
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user