camper/pkg
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
..
amenity Add amenities section and public page 2024-01-27 22:51:41 +01:00
app Add the admin page to see payments 2024-02-14 04:54:42 +01:00
auth Send a notification email to the company too on successful payment 2024-02-29 16:59:30 +01:00
booking “Finish” the new booking form 2024-04-24 20:19:13 +02:00
build Tag version 8 of the database 2024-04-22 13:43:38 +02:00
campsite “Mockup” for the new booking form 2024-04-23 21:07:41 +02:00
carousel Fix translation of carousel slides when changing media ID 2024-01-22 21:03:00 +01:00
company Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
database “Finish” the new booking form 2024-04-24 20:19:13 +02:00
form Replace admin’s campsite map with a booking grid 2024-04-19 11:29:52 +02: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 Actually log request to stdout to be captured by systemd 2024-02-29 16:12:08 +01: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
mail Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
media Allow updating images in CKEditor-“powered” textarea 2024-01-16 01:26:35 +01:00
payment Use pre-authorization to accept payment, rather than charge 2024-03-24 22:06:59 +01:00
redsys Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
season Replace admin’s campsite map with a booking grid 2024-04-19 11:29:52 +02: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 “Mockup” for the new booking form 2024-04-23 21:07:41 +02:00
user User and login attempt pages only accept GET 2024-01-18 19:34:58 +01:00
uuid Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00