diff --git a/application/modules/reservebalance/reservebalance.controller.js b/application/modules/reservebalance/reservebalance.controller.js index 1eb6ec3..95e2946 100644 --- a/application/modules/reservebalance/reservebalance.controller.js +++ b/application/modules/reservebalance/reservebalance.controller.js @@ -794,7 +794,7 @@ const reservation = async (req, res) => { c_location: getPartner ? getPartner.partner_name : null, m_balance_before: balance > 0 ? balance : 0, m_amount: 0, - m_balance_after: parseInt(balance) + parseInt(amount), + m_balance_after: balance > 0 ? balance : 0, j_new_data: data, j_old_data: null, c_note: `RESERVED BALANCE ${amount} FROM ${