numerus/test
jordi fita mas 880c4f53b2 Add the function to get the next invoice number
I can not use a PostgreSQL sequence because invoices need to be gapless,
and sequences are designed to not rollback, for performance reasons.  In
this case, the performance is secondary because the law does not care.
2023-02-17 14:48:24 +01:00
..
add_invoice.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
add_product.sql Add PL/pgSQL functions to add and edit products 2023-02-14 12:39:54 +01:00
build_cookie.sql Remove execution grant on build_cookie to guest 2023-01-23 21:40:22 +01:00
change_password.sql Add function to change the current user’s password 2023-01-23 21:41:14 +01:00
check_cookie.sql Use user’ß email for auth funcs and return cookie on email change 2023-01-23 21:18:55 +01:00
company.sql Add the function to get the next invoice number 2023-02-17 14:48:24 +01:00
company_user.sql Add the company relation and read-only form to edit 2023-01-24 21:46:07 +01:00
contact.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
country.sql Use a select for company’s country field 2023-01-27 21:30:14 +01:00
country_code.sql Use a select for company’s country field 2023-01-27 21:30:14 +01:00
country_i18n.sql Use a select for company’s country field 2023-01-27 21:30:14 +01:00
currency.sql Remove an unnecessary truncate from a SQL test 2023-01-27 19:40:38 +01:00
currency_code.sql Add the company relation and read-only form to edit 2023-01-24 21:46:07 +01:00
current_user_cookie.sql Use user’ß email for auth funcs and return cookie on email change 2023-01-23 21:18:55 +01:00
current_user_email.sql Use user’ß email for auth funcs and return cookie on email change 2023-01-23 21:18:55 +01:00
discount_rate.sql Add discount_rate domain and invoice_product relation 2023-02-10 19:02:04 +01:00
edit_product.sql Add PL/pgSQL functions to add and edit products 2023-02-14 12:39:54 +01:00
email.sql Allow guest access to user_profile with an empty profile 2023-01-23 01:18:47 +01:00
encrypt_password.sql Add the schema for all function’s tests 2023-01-18 14:13:58 +01:00
ensure_role_exists.sql Add the schema for all function’s tests 2023-01-18 14:13:58 +01:00
extensions.sql Add the company relation and read-only form to edit 2023-01-24 21:46:07 +01:00
invoice.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
invoice_number_counter.sql Add the function to get the next invoice number 2023-02-17 14:48:24 +01:00
invoice_product.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
invoice_product_tax.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
invoice_status.sql Add the invoice_status relation and its i18n 2023-02-07 16:45:27 +01:00
invoice_status_i18n.sql Add the invoice_status relation and its i18n 2023-02-07 16:45:27 +01:00
language.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
login.sql Add the schema for all function’s tests 2023-01-18 14:13:58 +01:00
login_attempt.sql Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
logout.sql Use user’ß email for auth funcs and return cookie on email change 2023-01-23 21:18:55 +01:00
new_invoice_product.sql Add PL/pgSQL function to add invoices 2023-02-16 23:09:10 +01:00
next_invoice_number.sql Add the function to get the next invoice number 2023-02-17 14:48:24 +01:00
parse_price.sql Convert from cents to “price” and back 2023-02-05 13:55:12 +01:00
product.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
product_tax.sql Add PL/pgSQL functions to add and edit products 2023-02-14 12:39:54 +01:00
roles.sql Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
schemas.sql Move check_cookie to public and give access to authenticator 2023-01-18 14:12:59 +01:00
set_cookie.sql Use user’ß email for auth funcs and return cookie on email change 2023-01-23 21:18:55 +01:00
tax.sql Add constraints to reject empty product and companies names 2023-02-17 12:39:32 +01:00
tax_rate.sql Correctly test negative tax_rate 2023-02-10 19:00:46 +01:00
to_price.sql Convert from cents to “price” and back 2023-02-05 13:55:12 +01:00
user.sql Add user_profile view to update the profile with form 2023-01-22 02:23:09 +01:00
user_profile.sql Add cross-request forgery detection 2023-02-02 11:39:34 +01:00