Go to file
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
cmd/numerus Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
debian Convert invoices to PDF with WeasyPrint 2023-02-26 17:26:09 +01:00
demo Add invoice tags 2023-03-10 14:02:55 +01:00
deploy Fix deletion of products with taxes on invoice edit 2023-03-13 14:32:02 +01:00
pkg Add the edit form for invoices 2023-03-13 15:00:35 +01:00
po Add the edit form for invoices 2023-03-13 15:00:35 +01:00
revert Add function to edit invoices 2023-03-11 20:58:20 +01:00
test Fix deletion of products with taxes on invoice edit 2023-03-13 14:32:02 +01:00
verify Add function to edit invoices 2023-03-11 20:58:20 +01:00
web Add the edit form for invoices 2023-03-13 15:00:35 +01:00
.gitignore Ignore IntelliJ’s project files 2023-01-30 16:42:15 +01:00
COPYING Rename LICENSE to COPYING 2023-01-15 04:08:35 +01:00
Makefile Rename extension of templates to .gohtml 2023-01-30 16:48:21 +01:00
go.mod Properly register array and composite PostgreSQL types with pgtype 2023-02-20 11:42:21 +01:00
go.sum Fix use of API methods not available in Go 1.16 2023-02-13 10:32:26 +01:00
sqitch.conf Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
sqitch.plan Add function to edit invoices 2023-03-11 20:58:20 +01:00