HDTN-244162 [Pay Voucher Detail] - Discount is moved to amount due

Issue No: AP-8549
Created 4/8/2020 1:37:10 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *Steps* :   1. Create voucher > Post > click Pay   2. Change payment method to eCheck > Keep   3. Add discount > Add Check No > Save   4. Post   5. Unpost (Reopen Voucher > verify if amount due is updated correctly since payment is unposted)   6. Edit check no   7. Post   8. Reopen the voucher > see if the amount due reflects on it   !pastedImage_d132920_0.jpg!     *Issue:*   !pastedImage_d132920_1.jpg!     In voucher, the Override checkbox is unchecked           *Accepted* :   Payment screen:   The amount due should be in the discount     Voucher screen:   Override checkbox should be checked (since discount is overridden in payment screen, works if payment made in Pay Voucher)   Amount due should show full amount (payment for whole voucher is unposted)   Amount Paid should be 0 (payment for whole voucher is unposted)