[Voucher] - Incorrect amount due when deposit is created

Issue No: AP-7533
Created 7/16/2019 7:22:18 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *Steps* :   1. Create voucher and dm with same amount (500)   2. Pay Vouchers > select the dm and voucher > add discount for the voucher (10)   3. Create Deposit   4. Open voucher and check if voucher is still available in Pay Voucher       *Issue* :   Due is 20   Voucher still in Pay Voucher screen   !pastedImage_d121675_0.png|height=705,width=1102!   !pastedImage_d121675_1.png|height=404,width=1132!     here's the vendor refund:   !pastedImage_d121675_2.png|height=601,width=1296!     *Accepted* :   Voucher should have no amount due   Voucher should not be included in Pay Voucher screen