Go to file
jordi fita mas 1bb6870f26 Keep products in invoices/quotes sorted by (roughly) insertion order
There was no explicit `order by` in the queries that list the products
of quotes and invoices, so PostgreSQL was free to use any order it
wanted.  In this case, since was am grouping first by name, the result
was sorted by product name.

This is not an issue in most cases, albeit a bit rude to the user,
except for when the products *have* to in the same order the user
entered them, because they are monthly fees or something like that, that
must be ordered by month _number_, not by their _name_; the user will
usually input them in the correct order they want them on the invoice or
quote.

Sorting by *_product_id does *not* guarantee that they will always be
in insertion order, because the sequence can “wrap”, but i think i am
going to have bigger problems at that point.

Closes #63
2023-07-07 11:34:26 +02:00
cmd/numerus Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
debian Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
demo Add empty IBAN and BIC to demo contacts 2023-07-02 02:26:35 +02:00
deploy Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
pkg Keep products in invoices/quotes sorted by (roughly) insertion order 2023-07-07 11:34:26 +02:00
po Add aria-label to <summary> without text content 2023-07-06 11:49:36 +02:00
revert Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
test Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
verify Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
web Add aria-label to <summary> without text content 2023-07-06 11:49:36 +02: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 Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
go.sum Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
sqitch.conf Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
sqitch.plan Tag Sqitch with version 1 2023-07-03 11:33:09 +02:00