mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-06 19:46:27 +00:00
upadte
This commit is contained in:
@@ -1237,10 +1237,6 @@ const loadingBalanceUpdate = async (param) => {
|
||||
);
|
||||
|
||||
let findDataLoadBalance = await model.findLoadBalance(loadBalanceNumber);
|
||||
// log debug
|
||||
winston.logger.debug(
|
||||
`${uniqueCode} inserting load balance transaction history ${findDataLoadBalance}...`
|
||||
);
|
||||
let findDataLoadBalanceDetail = await model.findLoadBalanceDetail(findDataLoadBalance.i_load_balance);
|
||||
|
||||
let dataLoadBalance = {};
|
||||
@@ -1333,7 +1329,7 @@ const loadingBalanceUpdate = async (param) => {
|
||||
: 0,
|
||||
m_amount: parseInt(amount),
|
||||
m_balance_after: parseInt(balance),
|
||||
j_new_data: { data: data, detail: detail },
|
||||
j_new_data: { data: dataLoadBalance, detail: detailLoadBalance },
|
||||
j_old_data: null,
|
||||
c_note: `LOAD BALANCE ${amount} FROM ${
|
||||
getPartner ? getPartner.terminal_name : null
|
||||
|
||||
Reference in New Issue
Block a user