Merge branch 'devops-staging' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend
This commit is contained in:
commit
00e247a5f9
|
@ -1395,7 +1395,7 @@ export class TransactionService {
|
||||||
dataTransaction.callback_json = callback;
|
dataTransaction.callback_json = callback;
|
||||||
dataTransaction.failed_reason = `Trx ${product.code} ke ${dataTransaction.destination} gagal`;
|
dataTransaction.failed_reason = `Trx ${product.code} ke ${dataTransaction.destination} gagal`;
|
||||||
dataTransaction.balance_remaining =
|
dataTransaction.balance_remaining =
|
||||||
coaAccount.amount + dataTransaction.amount;
|
Math.floor(coaAccount.amount) + dataTransaction.amount;
|
||||||
|
|
||||||
const coaInventory = await this.coaService.findByName(
|
const coaInventory = await this.coaService.findByName(
|
||||||
`${coaType[coaType.INVENTORY]}-${product.supplier.code}`,
|
`${coaType[coaType.INVENTORY]}-${product.supplier.code}`,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user