camper/pkg
jordi fita mas c9e8165f83 Allow updating bookings
I need to retrieve the values from the database and put them in the
form, like all other forms, but in this case the processing is done as
if it were a new form, because everything comes from the query string
and there is no need to do any extra work then.

Had to move the <footer> from the fields.gohtml to form.gohtml because
then it could not know that it was editing an existing booking.  Had to
move the <fieldset> out too, in order to give it an ID and make it
htmx’s target, or it would replace the form, causing even more problems
—the button would disappear then—.  The target **must** be in <form>
because it is needed for tis children’s hx-get and for its own hx-put.
2024-04-25 20:27:08 +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 Allow updating bookings 2024-04-25 20:27:08 +02:00
build Tag version 8 of the database 2024-04-22 13:43:38 +02:00
campsite “Mockup” for the new booking form 2024-04-23 21:07:41 +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 Allow updating bookings 2024-04-25 20:27:08 +02: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 “Mockup” for the new booking form 2024-04-23 21:07:41 +02: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