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
2023-03-10 14:02:55 +01:00
2023-03-25 01:56:26 +01:00
2023-01-30 16:42:15 +01:00
2023-01-15 04:08:35 +01:00
Description
No description provided
https://numerus.cat/ 6.5 MiB
v1 Latest
2023-07-03 09:33:09 +00:00
Languages
PLpgSQL 64.2%
Go 21.4%
CSS 11.6%
JavaScript 2%
Scheme 0.7%