Go to file
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
cmd/camper Increase HTTP timeout 2024-03-05 12:05:00 +01:00
debian Tag version 8 of the database 2024-04-22 13:43:38 +02:00
demo Allow many campsites for each reservation 2024-04-21 21:28:41 +02:00
deploy “Finish” the new booking form 2024-04-24 20:19:13 +02:00
pkg “Finish” the new booking form 2024-04-24 20:19:13 +02:00
po “Finish” the new booking form 2024-04-24 20:19:13 +02:00
revert “Finish” the new booking form 2024-04-24 20:19:13 +02:00
test “Finish” the new booking form 2024-04-24 20:19:13 +02:00
verify “Finish” the new booking form 2024-04-24 20:19:13 +02:00
web “Finish” the new booking form 2024-04-24 20:19:13 +02:00
.gitignore Add the sample campsite types to the demo file 2023-09-10 03:57:46 +02:00
Makefile Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
go.mod Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
go.sum Copy RecordArray from pgtype to database 2023-09-12 21:58:30 +02:00
guix.scm Add Guix package definition 2024-01-28 18:12:38 +01:00
sqitch.conf Add empty Sqitch configuration anq plan files 2023-07-20 23:43:23 +02:00
sqitch.plan “Finish” the new booking form 2024-04-24 20:19:13 +02:00