fix validation
This commit is contained in:
parent
9505f29712
commit
0fb3b4be5a
@ -32,7 +32,7 @@ const CUSTOM_CONDITIONS: TElements<
|
||||
const vehicleTaxInYear = calculationStore.getValue('vehicleTaxInYear');
|
||||
return CONDITIONS.LESS_OR_EQUALS_ZERO(vehicleTaxInYear);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
radioTypePTS: calculationStore => {
|
||||
const objectRegistration = calculationStore.getValue('objectRegistration');
|
||||
@ -40,7 +40,7 @@ const CUSTOM_CONDITIONS: TElements<
|
||||
const typePTS = calculationStore.getValue('typePTS');
|
||||
return CONDITIONS.IS_NULL(typePTS);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
selectObjectRegionRegistration: calculationStore => {
|
||||
const objectRegistration = calculationStore.getValue('objectRegistration');
|
||||
@ -50,7 +50,7 @@ const CUSTOM_CONDITIONS: TElements<
|
||||
);
|
||||
return CONDITIONS.IS_NULL(objectRegionRegistration);
|
||||
}
|
||||
return true;
|
||||
return false;
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user