camper/test
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
..
acsi.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
acsi_calendar.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
acsi_option.sql Group ACSI options and allow for usage in different groups 2024-04-03 12:56:52 +02:00
add_amenity.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_amenity_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_amenity_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_type.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_type_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_type_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_campsite_type_option.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_cover_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_home_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_media.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_season.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_service.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_services_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
add_surroundings_highlight.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
amenity.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
amenity_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
amenity_carousel_i18n.sql Add amenities section and public page 2024-01-27 22:51:41 +01:00
amenity_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
amenity_feature_i18n.sql Add amenities section and public page 2024-01-27 22:51:41 +01:00
amenity_i18n.sql Add amenities section and public page 2024-01-27 22:51:41 +01:00
booking.sql Show booking on booking grid 2024-04-19 21:09:28 +02:00
booking_status.sql Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
booking_status_i18n.sql Add “part” of the bookings’ management 2024-01-18 21:05:30 +01:00
build_cookie.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_carousel_i18n.sql Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
campsite_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_feature_i18n.sql Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
campsite_i18n.sql Add public pages for each individual accommodation 2024-01-26 22:27:54 +01:00
campsite_type.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_carousel_i18n.sql Add the carousel for campsite types 2023-10-12 17:43:23 +02:00
campsite_type_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_feature_i18n.sql Add the list of features for campsite type 2023-10-13 20:30:31 +02:00
campsite_type_i18n.sql Add check_in and check_out fields to campsite_type 2024-01-22 20:19:19 +01:00
campsite_type_option.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_option_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
campsite_type_option_i18n.sql Add campsite type options, mainly for plots 2023-10-06 13:26:01 +02:00
campsite_type_pet_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
change_password.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
check_cookie.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
color.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
company.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
company_host.sql Use HTTP Host to establish the request’s company 2023-08-03 20:21:21 +02:00
company_login_attempt.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
company_user.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
company_user_profile.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
country.sql Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
country_code.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
country_i18n.sql Add the first draft of the booking and payment forms 2023-10-19 21:37:34 +02:00
cover_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
cover_carousel_i18n.sql Add home’s cover carousel 2024-01-16 21:05:52 +01:00
currency.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
currency_code.sql Add company and company_user relations, along with their dependencies 2023-07-29 04:25:56 +02:00
current_company_id.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
current_user_cookie.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
current_user_email.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
decode_base64url.sql Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
down_payment.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
draft_payment.sql Group ACSI options and allow for usage in different groups 2024-04-03 12:56:52 +02:00
edit_amenity.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_amenity_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_campsite.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_campsite_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_campsite_type.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_campsite_type_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_campsite_type_option.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_media.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_season.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_service.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
edit_surroundings_highlight.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
email.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
encode_base64url.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
encrypt_password.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
ensure_role_exists.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
extensions.sql Replace contact page with location 2023-12-21 21:17:04 +01:00
flush_payments.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
home.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
home_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
home_carousel_i18n.sql Make home page’s carousel manageable via the database 2023-09-15 01:05:38 +02:00
home_i18n.sql Make the slogan user-editable and translatable 2024-01-23 11:52:39 +01:00
icon.sql Add the services page 2023-09-17 03:42:16 +02:00
input_is_valid.sql Add the form to update company’s tax details 2023-08-15 22:35:21 +02:00
input_is_valid_phone.sql Add the form to update company’s tax details 2023-08-15 22:35:21 +02:00
language.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
legal_text.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
legal_text_i18n.sql Add management of legal texts 2023-12-22 02:23:18 +01:00
location.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
location_i18n.sql Replace contact page with location 2023-12-21 21:17:04 +01:00
login.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
login_attempt.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
logout.sql Move the user role down to company_user relation 2023-08-08 02:22:16 +02:00
media.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
media_content.sql Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
media_path.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
media_type.sql Add media relation and add_media function 2023-09-08 20:03:26 +02:00
nonnegative_integer.sql Add positive_integer and nonnegative_integer domains 2024-02-13 22:12:30 +01:00
order_amenity_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_amenity_features.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_features.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_type_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_type_features.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_type_options.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_campsite_types.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_cover_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_home_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_seasons.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_services.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_services_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
order_surroundings_highlights.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
parse_price.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
payment.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
payment_customer.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
payment_option.sql Add the admin page to see payments 2024-02-14 04:54:42 +01:00
payment_redsys_response.sql Add authorization holding for payments 2024-02-15 15:17:21 +01:00
payment_reference.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
payment_status.sql Grant SELECT on payment_status to guest 2024-02-29 18:06:50 +01:00
payment_status_i18n.sql Grant SELECT on payment_status to guest 2024-02-29 18:06:50 +01:00
percentage.sql Add down payment 2024-02-13 23:45:25 +01:00
positive_integer.sql Add positive_integer and nonnegative_integer domains 2024-02-13 22:12:30 +01:00
process_payment_response.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
ready_payment.sql Compute ACSI discount 2024-03-14 22:08:01 +01:00
redsys.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
redsys_decode_response.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
redsys_encrypt.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
redsys_environment.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
redsys_integration.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
redsys_request.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
redsys_response.sql Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
redsys_sign_request.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
redsys_signed_request.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00
remove_amenity.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_amenity_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_amenity_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_campsite_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_campsite_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_campsite_type_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_campsite_type_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_campsite_type_option.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_cover_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_home_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_service.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_services_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_surroundings_ad.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
remove_surroundings_highlight.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
roles.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
schemas.sql Add authentication relations, views, and functions for PostgreSQL 2023-07-22 01:59:12 +02:00
season.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
season_calendar.sql Add missing foreign key between season_calendar and season 2024-03-14 18:38:58 +01:00
season_i18n.sql Add internationalization and localization to seasons 2023-10-03 21:14:37 +02:00
service.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
service_i18n.sql Add the services page 2023-09-17 03:42:16 +02:00
services_carousel.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
services_carousel_i18n.sql Add the services page 2023-09-17 03:42:16 +02:00
set_campsite_type_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
set_campsite_type_option_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
set_campsite_type_pet_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
set_cookie.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
set_season_range.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
setup_home.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
setup_location.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
setup_redsys.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
setup_surroundings_ad.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
surroundings_ad.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
surroundings_ad_i18n.sql Add ad management for surroundings 2024-01-23 14:53:15 +01:00
surroundings_highlight.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
surroundings_highlight_i18n.sql Add management of surroundings’ highlights (points of interest) 2024-01-16 01:26:35 +01:00
to_color.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
to_integer.sql Add seasons’ relation, functions, and admin section 2023-08-16 20:15:57 +02:00
to_price.sql Grant execute to guest for function to_price 2023-10-06 13:23:20 +02:00
translate_amenity.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_amenity_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_amenity_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_type.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_type_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_type_feature.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_campsite_type_option.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_cover_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_home.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_home_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_legal_text.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_location.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_season.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_service.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_services_carousel_slide.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_surroundings_ad.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translate_surroundings_highlight.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
translation.sql Add the edit form for services 2023-09-25 20:10:33 +02:00
unset_campsite_type_pet_cost.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
unset_season_range.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
user.sql Replace serial columns with ‘generated by default as identity’ 2023-09-26 19:35:16 +02:00
user_profile.sql Add the number of maximum nights that tourist tax applies 2024-02-27 20:06:28 +01:00
zero_pad.sql Implement Redsys request signature in PostgreSQL 2023-10-27 01:52:04 +02:00