EarlyRedemption: fix (Приведение копеек под сумму досрочки в графике ДЛ)
This commit is contained in:
parent
6653d0a162
commit
cfc2948b7d
@ -38,13 +38,13 @@ public class BaseSumWithVATColumn : BaseColumnWithSum
|
||||
|
||||
Values[0] = Sum;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Приведение копеек под сумму досрочки в графике ДЛ
|
||||
*/
|
||||
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user