Merge branch 'development' into 'master'

fix: calculating

See merge request empatnusabangsa/ppob/ppob-backend!125
This commit is contained in:
ilham dwi pratama 2022-02-04 14:29:26 +00:00
commit c48e2d870e

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),
};
}),
);