Receive Payments - Post Preview freezes when opened after Discount Taken is modified

Issue No: AR-10503
Created 6/17/2019 2:01:31 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description Steps to reproduce:   1. Go to Sales \| Activities \| Receive Payments   2. Click New   Type = Cash Receipts   Customer = Galcon Holdings Ltd (or any)   Payment Method = Cash   3. In the grid area, select invoices with discount available   !pastedImage_d120529_0.png|height=602,width=1503!     4. Open Post Preview tab screen   !pastedImage_d120529_1.png|height=604,width=1394!     5. Return to Details tab screen   6. Modify Discount Taken to 0.00   !pastedImage_d120529_2.png|height=602,width=1485!     7. Open Post Preview tab screen   Expected result: Post Preview tab screen should be displayed without error   Actual result: Post Preview tab screen keeps saving indefinitely; console error is displayed     Screenshot for reference:   !pastedImage_d120529_3.png|height=617,width=1405!   !pastedImage_d120529_4.png|height=805,width=572!