Go to file
jordi fita mas 20827b2cfb Add IBAN and BIC fields to contacts
These two fields are just for information purposes, as Numerus does not
have any way to wire transfer using these, but people might want to keep
these in the contact’s info as a convenience.

Since not every contact should have an IBAN, e.g., customers, and inside
SEPA (European Union and some more countries) the BIC is not required,
they are in two different relations in order to be optional without
using NULL.

For the IBAN i found an already made PostgreSQL module, but for BIC i
had to write a regular expression based on the information i gathered
from Wikipedia, because the ISO standard is not free.

These two parameters for the add_contact and edit_contact functions are
TEXT because i realized that these functions are intended to be used
from the web application, that only deals with texts, so the
ValueOrNil() function was unnecessarily complex and PostreSQL’s
functions were better suited to “convert” from TEXT to IBAN or BIC.
The same is true for EMAIL and URI domains, so i changed their parameter
types to TEXT too.

Closes #54.
2023-07-02 02:08:45 +02:00
cmd/numerus Implement login cookie, its verification, and logout 2023-01-17 20:58:13 +01:00
debian Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
demo Split contact relation into tax_details, phone, web, and email 2023-06-30 21:32:48 +02:00
deploy Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
pkg Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
po Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
revert Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
test Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
verify Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00
web Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +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 Update module dependencies to match the version of Debian 12 packages 2023-06-17 20:42:23 +02:00
go.sum Update module dependencies to match the version of Debian 12 packages 2023-06-17 20:42:23 +02:00
sqitch.conf Setup authentication schema and user relation 2023-01-13 20:30:21 +01:00
sqitch.plan Add IBAN and BIC fields to contacts 2023-07-02 02:08:45 +02:00