numerus/web/template
jordi fita mas 8efae0485e Add the edit form for invoices
I had to change the way /invoices/new and /invoices/batch are handled,
because httprouter was not happy with the new POST /invoices/:slug/edit
route, claiming that /invoices/:slug conflicts with the previously
existing routes.

I also could not make it work with the PATCH method, even though i
correctly added the patchMethod override function, therefore editing
invoices is also weird because i have to take into account the “quick”
invoice status change.

I use the same form for both new and edit invoices, because the only
changes are that we can not edit the invoice date and number, by
Oriol’s design, but must be able to change the status; very similar
forms.
2023-03-13 15:00:35 +01:00
..
contacts Add products section 2023-02-04 11:32:39 +01:00
invoices Add the edit form for invoices 2023-03-13 15:00:35 +01:00
products Add the String() method to InputField 2023-03-13 14:55:10 +01:00
app.gohtml Add the context menu with the duplicate option 2023-03-08 11:54:06 +01:00
dashboard.gohtml Move page titles to their respective templates 2023-01-31 13:07:17 +01:00
form.gohtml Add grouping for form’s select field 2023-03-01 11:40:23 +01:00
login.gohtml Use a “proper” struct for the login form 2023-02-01 11:02:32 +01:00
profile.gohtml Add breadcrumbs 2023-02-03 13:58:10 +01:00
tax-details.gohtml Add the payment method relation and corresponding form 2023-03-03 16:49:06 +01:00
web.gohtml Add custom function to get the current locale from templates 2023-01-31 15:45:51 +01:00