camper/pkg
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
..
amenity Add amenities section and public page 2024-01-27 22:51:41 +01:00
app Add amenities section and public page 2024-01-27 22:51:41 +01:00
auth Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
booking Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
build Replace min_nights from campsite_type_costs to range in campsite_type 2024-01-31 23:06:45 +01:00
campsite Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
carousel Fix translation of carousel slides when changing media ID 2024-01-22 21:03:00 +01:00
company Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
database Compute and show the “cart” for the booking form 2024-02-04 06:37:25 +01:00
form Refactor ISO date, and datestamp format in constant 2024-01-31 19:58:46 +01:00
hex Add cover media to campsite types 2023-09-10 03:04:18 +02:00
home Do not freak out just because the is no blooding slogan 2024-01-30 12:24:49 +01:00
http Add the language switched to the public layout 2023-08-06 05:53:52 +02:00
legal Do not translate legal to the default language 2024-01-12 19:57:11 +01:00
locale Replace L10nInput with I18nInput in service 2024-01-12 21:06:12 +01:00
location Add missing MethodPut to location/admin.gohtml’s MethodNotAllowed 2024-01-23 11:31:34 +01:00
media Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
redsys Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
season Refactor ISO date, and datestamp format in constant 2024-01-31 19:58:46 +01:00
services Add a Go function for delete_service SQL function 2024-01-16 18:12:38 +01:00
surroundings Add ad management for surroundings 2024-01-23 14:53:15 +01:00
template Advance min dates of departure and arrival one day 2024-02-02 02:59:41 +01:00
user User and login attempt pages only accept GET 2024-01-18 19:34:58 +01:00
uuid Add cover media to campsite types 2023-09-10 03:04:18 +02:00