i have debug the issue, i found out that when i validate voucher, it calls the addTrans method two times (+ve and -ve). when i try to post the voucher it calls the method only once (-ve value).
↧