Go to file
jordi fita mas 6b73acafe6 Add SQL and helper PL/pgSQL functions to tag invoices
We plan to tag also contacts and products using the same tag relation,
but different invoice_tag, contact_tag, and product_tag relations for
each one.  However, the logic is the same for all three, hence it makes
more sense to put it into a PL/pgSQL with dynamic SQL.  Moreover, the
SQL for tagging in add_invoice and edit_invoice where almost exactly
the same, the only difference was deleting the existing tags when
editing.

I do not execute the tag_relation function in its test suite because
by itself it does nothing without supporting invoice_tag, contact_tag,
or any such relation, so it is being tested in the suite for
tag_invoice.
2023-03-26 00:18:29 +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 Add SQL and helper PL/pgSQL functions to tag invoices 2023-03-26 00:18:29 +01:00
pkg Boost the main navigation links with HTMx 2023-03-23 10:55:02 +01:00
po Show the tax details form in a dialog using HTMx 2023-03-21 11:58:54 +01:00
revert Add SQL and helper PL/pgSQL functions to tag invoices 2023-03-26 00:18:29 +01:00
test Add SQL and helper PL/pgSQL functions to tag invoices 2023-03-26 00:18:29 +01:00
verify Add SQL and helper PL/pgSQL functions to tag invoices 2023-03-26 00:18:29 +01:00
web Add a SnackBar to show HTMx errors 2023-03-25 01:56:26 +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 SQL and helper PL/pgSQL functions to tag invoices 2023-03-26 00:18:29 +01:00