numerus/pkg
jordi fita mas 3161d54aba Add expense’s file input to new and edit forms
I had to change MethodOverrider to check whether the form is encoded as
multipart/form-data or i would not be able to get the method field from
forms with files.

For now i add the file manually, i.e., outside add_expense and
edit_expense PL/pgSQL functions, because it was faster for me, but i
will probably add an attach_to_expense function, or something like that,
to avoid having the whole ON CONFLICT logic inside Golang—this belongs
to the database.
2023-05-14 18:46:16 +02:00
..
company.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
contacts.go Add contact’s inline form for tags 2023-05-12 11:32:39 +02:00
db.go Properly register array and composite PostgreSQL types with pgtype 2023-02-20 11:42:21 +01:00
expenses.go Add expense’s file input to new and edit forms 2023-05-14 18:46:16 +02:00
form.go Add expense’s file input to new and edit forms 2023-05-14 18:46:16 +02:00
htmx.go Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
invoices.go Add inline tag form for expenses 2023-05-08 12:58:54 +02:00
locale.go Add currency_pattern to language relation 2023-02-23 12:12:33 +01:00
logger.go Move source file to the root of pkg 2023-01-17 10:40:22 +01:00
login.go Replace default router with github.com/julienschmidt/httprouter 2023-02-03 12:30:56 +01:00
pgtypes.go Accept “invalid” quantity, price, and discount on invoice update 2023-04-24 20:40:10 +02:00
products.go Add the inline form for product tags 2023-05-09 12:18:31 +02:00
profile.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Add expense’s file input to new and edit forms 2023-05-14 18:46:16 +02:00
template.go Add expense’s file input to new and edit forms 2023-05-14 18:46:16 +02:00