Voucher - Voucher with overwritten discount gets negative value

Issue No: AP-9987
Created 10/26/2021 9:50:53 PM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description Steps:   # Create Voucher with discount > Tick override #* Cost: 100 #* Discount: 10 # Post voucher # Create Partial Payment for Voucher Created #* Payment: 85 # Post payment # Check voucher   Issue: Partially Payment with discount in Voucher. The 'Due if Paid By' gets negative value.   !6.jpg|height=263,width=542!   Accepted: 'Due if Paid By' should not gets negative value