EarlyRedemption: fix (Приведение копеек под сумму досрочки в графике ДЛ)

This commit is contained in:
vchikalkin 2024-04-01 12:02:18 +03:00
parent 6653d0a162
commit cfc2948b7d

View File

@ -44,7 +44,7 @@ public class BaseSumWithVATColumn : BaseColumnWithSum
*/
public void FixValues()
{
if (_preparedValues.LastPaymentFix == false)
if (_preparedValues.ChangeRepayment == false && _preparedValues.LastPaymentFix == false)
{
var difference = _preparedValues.SumRepayment - Values[_preparedValues.EditPaymentNumber];
if (difference != 0.0m)