Skip to content

Commit

Permalink
Updated validation is permit application
Browse files Browse the repository at this point in the history
  • Loading branch information
deepa-s-13 committed Apr 15, 2024
1 parent 0b85719 commit 38eef50
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,10 @@ const OwnerDetails = ({ t, config, onSelect, userType, formData }) => {
alert("Height should not be more than 15 metres");
}
//converting plot area which is in square meters to square yards by multiplying 1.196
else if((parsedArchitectName=="ARCHITECT" || parsedArchitectName=="ENGINEER") && (formData?.data.edcrDetails.planDetail.planInformation.plotArea*1.196) >500){
else if((parsedArchitectName=="ARCHITECT" || parsedArchitectName=="ENGINEER") && (formData?.data.edcrDetails.planDetail.planInformation.plotArea*1.19599) >500){
alert("Architect/Engineer can apply for area less then 500 sq. yards. in self declaration")
}
else if((parsedArchitectName=="DESIGNER" || parsedArchitectName=="SUPERVISOR") && (formData?.data.edcrDetails.planDetail.planInformation.plotArea*1.196)>250){
else if((parsedArchitectName=="DESIGNER" || parsedArchitectName=="SUPERVISOR") && (formData?.data.edcrDetails.planDetail.planInformation.plotArea*1.19599)>250){
alert("Designer/Supervisor can apply for area less then 500 sq. yards. in self declaration")
}
else{
Expand Down

0 comments on commit 38eef50

Please sign in to comment.