- change type data to bigint

This commit is contained in:
Fadli
2023-01-07 01:17:28 +07:00
parent 5367541079
commit 1ea59d2254
3 changed files with 3 additions and 11 deletions

View File

@@ -1395,7 +1395,7 @@ export class TransactionService {
dataTransaction.callback_json = callback;
dataTransaction.failed_reason = `Trx ${product.code} ke ${dataTransaction.destination} gagal`;
dataTransaction.balance_remaining =
Math.floor(coaAccount.amount) + dataTransaction.amount;
coaAccount.amount + dataTransaction.amount;
const coaInventory = await this.coaService.findByName(
`${coaType[coaType.INVENTORY]}-${product.supplier.code}`,