camper/demo
jordi fita mas 2c36e45663 Compute and show the “cart” for the booking form
I have to ask number and age ranges of hosts of guests for all campsite
types, not only those that have price options for adults, children, etc.
because i must compute the tourist tax for adults.  These numbers will
be used to generate de rows for guests when actually creating the
booking, which is not done already.

To satisfy the campsite types that do have a price per guest, not only
per night, i had to add the prices for each range in the
campsite_type_cost relation.  If a campsite type does not have price
per person, then that should be zero; the website then does not display
the price.

The minimal price for any campsite type is one adult for one night,
thus to compute the price i need at least the campsite type, the dates,
and the number of adults, that has a minimum of one.  I changed the
order of the form to ask for these values first, so i can compute the
initial price as soon as possible.  To help further, i show the
<fieldset>s progressively when visitors select options.
2024-02-04 06:37:25 +01:00
..
ad.avif Add ad management for surroundings 2024-01-23 14:53:15 +01:00
bungalows.avif Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
bungalows_carousel2.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
bungalows_carousel3.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
bungalows_carousel4.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
bungalows_carousel5.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
bungalows_carousel6.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
bungalows_premium.avif Add “bungalows premium” campsite type to demo 2023-10-06 18:53:44 +02:00
demo.sql Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
home_carousel0.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel1.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel2.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel3.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel4.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel5.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel6.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel7.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_carousel8.jpg Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
plots.avif Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
safari_tents.avif Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
safari_tents_carousel1.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
safari_tents_carousel2.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
safari_tents_carousel3.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
safari_tents_carousel4.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
safari_tents_carousel5.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
safari_tents_carousel6.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
services_carousel0.avif Add the services page 2023-09-17 03:42:16 +02:00
services_carousel1.avif Add the services page 2023-09-17 03:42:16 +02:00
services_carousel2.avif Add the services page 2023-09-17 03:42:16 +02:00
services_carousel3.avif Add the services page 2023-09-17 03:42:16 +02:00
wooden_lodges.avif Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
wooden_lodges_carousel0.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel1.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel2.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel3.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel4.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel5.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel6.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel7.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel8.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carousel9.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carouselA.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carouselB.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
wooden_lodges_carouselC.avif Add the carousel for campsite types 2023-10-12 17:43:23 +02:00