numerus/web/template/invoices
jordi fita mas 8529da1615 Use HTMx to delete and restore invoice products
It is better that way because it works without JavaScript; if HTMx is
not available, it will just use regulars forms.

The problem is that most of the submit buttons where using formaction
to send the request to a different action, and only one button was the
“real” action.  Since i could not pass the formaction to
invoice-product-form template, i have changed the “default” action to
the one with “ancillary” functions.

I have to use a different action to remove for each product because i
can not pass the index to the backend without JavaScript: it only
depends on the button click, that already has a name for the action.
Thus, in a way, i have “merged” the action and the index in a single
name.
2023-05-29 00:01:11 +02:00
..
edit.gohtml Use HTMx to delete and restore invoice products 2023-05-29 00:01:11 +02:00
index.gohtml Toggle filters forms 2023-05-24 12:13:09 +02:00
new.gohtml Use HTMx to delete and restore invoice products 2023-05-29 00:01:11 +02:00
product-form.gohtml Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
products.gohtml Improve the CSS and general design 2023-05-23 23:13:21 +02:00
view.gohtml Move back most dialogs to regular (but still boosted) pages 2023-04-25 15:28:55 +02:00