camper/web/templates/public
jordi fita mas fdf9502c8b “Finish” the new booking form
Had to bring the same fields that i have for a payment to booking,
except that some of those should be nullable, because it is unreasonable
to ask front desk to gather all customer data when they have a booking
via phone, for instance.

Therefore, i can not take advantage of the validation for customer data
that i use in the public-facing form, but, fortunately, most of the
validations where in separated functions, thus only had to rewrite that
one for this case.

I already have to create a booking from a payment, when receiving a
payment from the public instance, thus i made that function and reused
it here.  Then i “overwrite” the newly created pre-booking with the
customer data from the form, and set is as confirmed, as we do not see
any point of allowing pre-bookings from employees.
2024-04-24 20:19:13 +02:00
..
booking “Finish” the new booking form 2024-04-24 20:19:13 +02:00
campsite Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
payment Add the admin page to see payments 2024-02-14 04:54:42 +01:00
amenity.gohtml Add amenities section and public page 2024-01-27 22:51:41 +01:00
campground.gohtml “Finish” the new booking form 2024-04-24 20:19:13 +02:00
form.gohtml Split templates and handlers into admin and public 2023-08-05 03:42:37 +02:00
home.gohtml Change “Discover the environment” to “Discover” 2024-02-06 10:55:29 +01:00
layout.gohtml Add plausible script 2024-02-27 20:06:02 +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