Go to file
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
cmd/camper Manage all media uploads in a single place 2023-09-21 01:56:44 +02:00
debian Tag database with v2 2024-01-29 02:52:52 +01:00
demo Allow campsite type option to be just per unit, not per unit per night 2024-02-11 21:45:00 +01:00
deploy Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00
pkg Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00
po Send an email on notification of success payment 2024-02-13 05:20:35 +01:00
revert Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
test Change draft_payment return type to row of payment 2024-02-13 19:51:39 +01:00
verify Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00
web Move down HTMx attributes for booking form 2024-02-13 05:59:07 +01: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 Handle payment notifications from Redsys 2024-02-13 02:38:38 +01:00