numerus/web/template/invoices
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
..
edit.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
index.gohtml Add filters form for invoices 2023-03-29 16:16:31 +02:00
new.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
products.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00
view.gohtml Show the profile form in a dialog using HTMx 2023-03-20 13:09:52 +01:00