Browse Source

removed the date restriction

master
yoganandhan 7 months ago
parent
commit
263da7f14b
  1. 72
      src/main/resources/application-test.properties
  2. 2
      src/main/resources/templates/modules/flagpolesregistration/requestform.html

72
src/main/resources/application-test.properties

@ -0,0 +1,72 @@
spring.application.name=flagpolesregistration
spring.datasource.url=jdbc:mysql://localhost:3306/gcc_flag_pole
spring.datasource.username=root
spring.datasource.password=gccroot
spring.jpa.show-sql=true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.jpa.hibernate.ddl-auto=update
spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
server.port=8083
spring.servlet.multipart.enabled=true
spring.servlet.multipart.max-file-size=10MB
spring.servlet.multipart.max-request-size=20MB
server.tomcat.max-part-count=200
file.upload.directory.mobile=${user.dir}/gccoffice_uploads/
#/////////// For vph ////////////
vph_foldername = vpheventimage
fileBaseUrl=https://gccservices.chennaicorporation.gov.in
app.baseUrl=https://gccservices.chennaicorporation.gov.in/flagpolesregistration/
#///////////////////flagpoles dev mode////////////////////
spring.application.name=flagpolesregistration
spring.datasource.url=jdbc:mysql://gcc-facial-db-instance-1.cf48eqcciziq.ap-south-1.rds.amazonaws.com:3306/gcc_flag_pole
spring.datasource.username=root
spring.datasource.password=gcc-facial-password
spring.jpa.hibernate.ddl-auto=update
spring.jpa.show-sql=true
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
server.port=8083
#production port = 8083
spring.servlet.multipart.max-file-size=20MB
flagpoles_foldername=flagpoles_files
file.upload.directory=${user.dir}/gccoffice_uploads/
#file.upload.directory.mobile=${user.dir}/gcc_mobile_service_uploads/
# file.upload.directory=${user.dir}/gccoffice_uploads
# file.dump.upload.directory=${user.dir}/cd_waste_docs/cdwaste_dump
# file.fullpath=/
# file.dump.fullpath=/cd_waste_docs/
fileBaseUrl=https://gccservices.in
payment.razorpay.my_key_id="rzp_test_tDkHFEqWXmuEi8"
app.getOtpUrl=https://tmegov.onex-aura.com/api/sms?
app.erpUrl=https://erp.chennaicorporation.gov.in/pgr/external/mobileservice?
# dump_directory=cdwaste_dump

2
src/main/resources/templates/modules/flagpolesregistration/requestform.html

@ -1237,7 +1237,7 @@
const today = new Date();
today.setHours(0, 0, 0, 0); // 🔥 important
today.setDate(today.getDate() + 2);
//today.setDate(today.getDate() + 1);
const yyyy = today.getFullYear();
const mm = String(today.getMonth() + 1).padStart(2, '0');

Loading…
Cancel
Save