mirror of
https://github.com/mohamadihsan/topuponline.git
synced 2026-12-05 11:06:28 +00:00
remove pengecekkan last balance dari card history server
This commit is contained in:
@@ -891,12 +891,12 @@ const validateTopup = async (req, res) => {
|
||||
}
|
||||
}
|
||||
|
||||
if (last_balance) {
|
||||
let getLastBalanceFromCardHistory = await model.getLastBalanceFromCardHistory(card_number);
|
||||
if (getLastBalanceFromCardHistory) {
|
||||
last_balance = getLastBalanceFromCardHistory.m_balance_after;
|
||||
}
|
||||
}
|
||||
// if (last_balance) {
|
||||
// let getLastBalanceFromCardHistory = await model.getLastBalanceFromCardHistory(card_number);
|
||||
// if (getLastBalanceFromCardHistory) {
|
||||
// last_balance = getLastBalanceFromCardHistory.m_balance_after;
|
||||
// }
|
||||
// }
|
||||
// last_balance = 2000000;
|
||||
|
||||
// CHECK POS_BI_REGULATION_STAT
|
||||
|
||||
Reference in New Issue
Block a user