Skip to content

Commit

Permalink
Add VITE_BC_MIN_PICK_UP_HOURS and VITE_BC_MIN_RENTAL_HOURS frontend o…
Browse files Browse the repository at this point in the history
…ptions for improved date validation flexibility
  • Loading branch information
aelassas committed Feb 11, 2025
1 parent a91f8d4 commit 70cd0ae
Show file tree
Hide file tree
Showing 7 changed files with 200 additions and 275 deletions.
2 changes: 2 additions & 0 deletions frontend/.env.docker.example
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,5 @@ VITE_BC_GG_APP_ID=XXXXXXXXXX
VITE_BC_MIN_LOCATIONS=4
VITE_BC_WEBSITE_NAME=BookCars
VITE_BC_HIDE_SUPPLIERS=false
VITE_BC_MIN_PICK_UP_HOURS=1 # Minimum required time in hours before pick-up. Default is 1 hour.
VITE_BC_MIN_RENTAL_HOURS=1 # Minimum rental duration in hours between pick up and drop off. Default is 1 hour.
2 changes: 2 additions & 0 deletions frontend/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,5 @@ VITE_BC_GG_APP_ID=XXXXXXXXXX
VITE_BC_MIN_LOCATIONS=4
VITE_BC_WEBSITE_NAME=BookCars
VITE_BC_HIDE_SUPPLIERS=false
VITE_BC_MIN_PICK_UP_HOURS=1 # Minimum required time in hours before pick-up. Default is 1 hour.
VITE_BC_MIN_RENTAL_HOURS=1 # Minimum rental duration in hours between pick up and drop off. Default is 1 hour.
Loading

0 comments on commit 70cd0ae

Please sign in to comment.