Skip to content

Commit

Permalink
Merge pull request #1310 from Puli-shilpa/Dev-2.0
Browse files Browse the repository at this point in the history
fixed development charges to enter max 10 digits
  • Loading branch information
sriranjan-s authored Sep 1, 2024
2 parents d0d2482 + 2a6e262 commit 937c8db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ setWaterCharges(Malbafees/2)
}
}
function setDevelopmentVal(value) {
if(/^[0-9]*$/.test(value)){
if(/^\d{0,10}$/.test(value)){
setDevelopment(value);
sessionStorage.setItem("development",value)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const ScruntinyDetails = ({ scrutinyDetails, paymentsList=[],additionalDetails,a
}
}
function setDevelopmentVal(value) {
if(/^[0-9]*$/.test(value)){
if(/^\d{0,10}$/.test(value)){
setDevelopment(value);
sessionStorage.setItem("development",value)
}
Expand Down

0 comments on commit 937c8db

Please sign in to comment.