Invoiced amount in purchase receipt

Purchase To Pay: Purchase Order Version 10.29

When an invoice is partly invoiced and the user change cost and discount, the not yet invoiced amount showing in purchase receipt is updated wrongly. This has now been fixed.