camper/pkg
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
..
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 Compute ACSI discount 2024-03-14 22:08:01 +01:00
build Tag database with version 7 2024-04-03 09:34:36 +02:00
campsite Show booking on booking grid 2024-04-19 21:09:28 +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 Compute ACSI discount 2024-03-14 22:08:01 +01: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 Add the admin page to see payments 2024-02-14 04:54:42 +01: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