calculate: fix tbxFirstPaymentRub validation
This commit is contained in:
parent
7125ca8288
commit
f9ecf47390
@ -123,7 +123,7 @@ const customConditions: TElements<ValidationCondition> = {
|
||||
tbxFirstPaymentRub: calculationStore => {
|
||||
const { firstPaymentRub, subsidySum } = calculationStore.values;
|
||||
return {
|
||||
isValid: firstPaymentRub - subsidySum > 0,
|
||||
isValid: firstPaymentRub - subsidySum >= 0,
|
||||
message:
|
||||
'Первый платеж с учетом субсидии получается отрицательный, увеличьте первый платеж',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user