temporary off validations

This commit is contained in:
Chika 2021-09-10 10:03:04 +03:00
parent fb7941ea2e
commit b27975a613
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@ namespace EvoCalculator.Core.Calculation.v1.Columns
throw new Exception( throw new Exception(
"Первый платеж по графику более 50% от суммы лизинговых платежей. Необходимо уменьшить первый платеж"); "Первый платеж по графику более 50% от суммы лизинговых платежей. Необходимо уменьшить первый платеж");
for (int i = 2; i < Values.Length; i++) for (int i = 2; i < Values.Length - 1; i++)
{ {
if (GetValue(i) < _nsibBruttoGrColumn.GetValue(i)) if (GetValue(i) < _nsibBruttoGrColumn.GetValue(i))
{ {

View File

@ -16,9 +16,9 @@ namespace EvoCalculator.Core.Calculation.v2.PostValues
public void Validate() public void Validate()
{ {
if (Value < 0) // if (Value < 0)
throw new Exception( // throw new Exception(
"Невозможно осуществить расчет графика. При заданных параметрах получается отрицательный результат по ДЛ"); // "Невозможно осуществить расчет графика. При заданных параметрах получается отрицательный результат по ДЛ");
} }
} }
} }