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
..
2024-03-14 22:08:01 +01:00
2024-03-14 22:08:01 +01:00
2024-03-14 22:08:01 +01:00
2023-09-17 03:42:16 +02:00
2024-01-24 01:01:30 +01:00
2024-04-19 21:09:28 +02:00
2024-01-16 21:05:52 +01:00
2024-02-13 23:45:25 +01:00
2024-03-14 22:08:01 +01:00
2023-09-17 03:42:16 +02:00
2023-09-17 03:42:16 +02:00
2023-12-22 02:23:18 +01:00
2024-03-14 22:08:01 +01:00
2024-02-13 23:45:25 +01:00
2024-03-14 22:08:01 +01:00
2024-03-14 22:08:01 +01:00
2023-09-17 03:42:16 +02:00
2023-09-17 03:42:16 +02:00
2023-09-17 03:42:16 +02:00
2023-09-17 03:42:16 +02:00
2023-09-25 20:10:33 +02:00