numerus/web/template
jordi fita mas b7881c505f Add filters form for invoices
Instead of using links in the invoice tags, that we will replace with a
“click-to-edit field”, with Oriol agreed to add a form with filters that
includes not only the tags but also dates, customer, status, and the
invoice number.

This means i now need dynamic SQL, and i do not think this belongs to
the database (i.e., no PL/pgSQL function for that).  I have looked at
query builder libraries for Golang, and did not find anything that
suited me: either they wanted to manage not only the SQL query but also
all structs, or they managed to confuse Goland’s SQL analyzer.

For now, at least, i am using a very simple approach with arrays, that
still confuses Goland’s analyzer, but just in a very specific part,
which i find tolerable—not that their analyzer is that great to begin
with, but that’s a story for another day.
2023-03-29 16:16:31 +02:00
..
contacts Boost contact’s tag links to update <main> with the filtered list 2023-03-27 09:40:24 +02:00
invoices Add filters form for invoices 2023-03-29 16:16:31 +02:00
products Boost the products’ section links and forms 2023-03-27 09:44:04 +02:00
app.gohtml Add a SnackBar to show HTMx errors 2023-03-25 01:56:26 +01:00
dashboard.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
form.gohtml Use .String in hidden-field template, so that it works for TagsField too 2023-03-28 10:01:41 +02:00
login.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
main.gohtml Add the <title> element for the “main” boosted pages 2023-03-26 13:57:24 +02:00
modal.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
profile.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
tax-details.gohtml Show the tax details form in a dialog using HTMx 2023-03-21 11:58:54 +01:00
web.gohtml Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00