camper/web/templates/public
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
..
booking Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
campsite Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
payment Use redsys_environment to choose the correct URL to send the payment to 2023-10-27 17:03:50 +02:00
amenity.gohtml Add amenities section and public page 2024-01-27 22:51:41 +01:00
campground.gohtml Translate map’s legend 2024-01-29 14:37:27 +01:00
form.gohtml Split templates and handlers into admin and public 2023-08-05 03:42:37 +02:00
home.gohtml Make the slogan user-editable and translatable 2024-01-23 11:52:39 +01:00
layout.gohtml Replace + with 00 to the address in the bottom, too 2024-02-03 01:04:25 +01:00
legal.gohtml Add management of legal texts 2023-12-22 02:23:18 +01:00
location.gohtml Added copyright statement to files modified by Oriol 2024-01-16 17:58:49 +01:00
page.gohtml Add the pages section 2023-08-08 20:09:57 +02:00
services.gohtml Added copyright statement to files modified by Oriol 2024-01-16 17:58:49 +01:00
surroundings.gohtml Add ad management for surroundings 2024-01-23 14:53:15 +01:00