Go to file
jordi fita mas cdd91c815e Show booking on booking grid
I need the campsite_id in booking to know what row to show the booking
at. Besides the need of knowing which actual campsite has been booked,
of course.

This field is nullable because we can not now it until an employee has
confirmed the booking; until that point we only know the campsite type
customer requested.  I do not care much if the campsite_id is from a
different campsite_type, because maybe the customer requested the change
by phone or what have you, therefore the database can not be that
strict.  It must have a value if the booking is confirmed.

It helps me if the arrival_date and departure_date is a single
daterange, because then i can use `&&` and other range operators to work
with these dates.  For instance, i have to intersect it with the range
displayed on the screen in order to know which day i have to put it.
But then i have to know whether the booking begins and ends in the
display range, because i only have to show arrival and departure (i.e.,
the box half-way within the first or last boxes) on these days only.
2024-04-19 21:09:28 +02:00
cmd/camper Increase HTTP timeout 2024-03-05 12:05:00 +01:00
debian Tag database with version 7 2024-04-03 09:34:36 +02:00
demo Show booking on booking grid 2024-04-19 21:09:28 +02:00
deploy Show booking on booking grid 2024-04-19 21:09:28 +02:00
pkg Show booking on booking grid 2024-04-19 21:09:28 +02:00
po Show booking on booking grid 2024-04-19 21:09:28 +02:00
revert Show booking on booking grid 2024-04-19 21:09:28 +02:00
test Show booking on booking grid 2024-04-19 21:09:28 +02:00
verify Show booking on booking grid 2024-04-19 21:09:28 +02:00
web Show booking on booking grid 2024-04-19 21:09:28 +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 Show booking on booking grid 2024-04-19 21:09:28 +02:00