- fix order stg
This commit is contained in:
parent
8e6fe1b164
commit
f3f22d1beb
|
@ -441,6 +441,8 @@ export class TransactionService {
|
|||
transactionData.destination = orderTransactionDto.destination;
|
||||
transactionData.partner_trx_id = orderTransactionDto.trx_id;
|
||||
transactionData.supplier_trx_id = trxId;
|
||||
transactionData.balance_remaining =
|
||||
coaAccount.amount - product_price.mark_up_price - costInventory;
|
||||
await manager.insert(Transactions, transactionData);
|
||||
|
||||
await this.accountingTransaction({
|
||||
|
|
Loading…
Reference in New Issue
Block a user