Balance Due of completed contribution does not show as 0 but full amount in payment receipt
Using 5.18.3 with patch https://github.com/civicrm/civicrm-core/pull/15545 (to be able to send the payment receipt at all) I noticed that in different scenarios's (A. Pay the contribution in one payment & B. Pay it in a few payments) the payment notification email shows the wrong amount for the Balance Due.
Interestingly it show the proper Balance Due when doing partial payments
Total Amount : 100
This Payment Amount : 60
Balance Due: 40
But at the final payment to full fill the contribution it shows the same as the full amount
Total Amount : 100
This Payment Amount : 100
Balance Due: 100