camper/pkg
jordi fita mas 990a614897 Change draft_payment return type to row of payment
This way i can use the function in the from clause of the query that
i already had to do to get the totals formatted with to_price.  In this
case, i believe it is better to leave out Go’s function because it would
force me to perform two queries.

Instead of binding a nullable string pointer with the payment’s slug,
i wanted to use pgtype’s zeronull.Text type, but it can not work in this
case because it encodes the value as a text, while the parameters is
uuid.  I can not use zero.UUID, because it is a [16]byte array, while i
have it in a string.

Thus, had to create my own ZeroNullUUID type that use a string as a base
but encodes it as a UUID.
2024-02-13 19:51:39 +01:00
..
amenity Add amenities section and public page 2024-01-27 22:51:41 +01:00
app Add ready_payment function and use their slug as URL 2024-02-12 18:06:17 +01:00
auth Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
booking Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00
build Replace min_nights from campsite_type_costs to range in campsite_type 2024-01-31 23:06:45 +01:00
campsite Allow campsite type option to be just per unit, not per unit per night 2024-02-11 21:45:00 +01:00
carousel Fix translation of carousel slides when changing media ID 2024-01-22 21:03:00 +01:00
company Add VAT and tourist tax information 2024-01-15 01:45:58 +01:00
database Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00
form Handle the booking cart entirely with HTMx 2024-02-10 03:49:44 +01: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 Add the language switched to the public layout 2023-08-06 05:53:52 +02: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 Include details.gohtml when rendering payments/request.gohtml 2024-02-13 05:53:11 +01:00
redsys Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
season Refactor ISO date, and datestamp format in constant 2024-01-31 19:58:46 +01: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 Send an email on notification of success payment 2024-02-13 05:20:35 +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