Receive Payment: Discount taken amount reverts back to zero when marking the line of the grid

Issue No: AR-8781
Created 9/12/2018 4:17:21 PM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-217953 - Issue with processing customer payment|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-217953] v18.1.0911.369   + *Steps to reproduce:* +   1. Process a payment.   2. Enter amount on amount field lesser than the actual invoice amount, equal to the discount taken amount.   3. Enter amount on discount taken.   4. Hit tab all the way to paymen column.   5. Mark the line of the grid with a check.   + *Actual result:* +   Discount taken reverts back to zero and becomes an unapplied amount. See attached recording.   + *Expected result:* +   1. Discount taken should remain.   2. Amount due after discount should cascade to payment.