numerus/debian/control
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

77 lines
2.0 KiB
Plaintext

Source: numerus
Section: web
Priority: optional
Maintainer: jordi fita mas <jordi@tandem.blog>
Build-Depends:
debhelper-compat (= 13),
dh-golang,
gettext,
golang-any,
golang-github-jackc-pgx-v4-dev,
golang-github-julienschmidt-httprouter-dev,
golang-github-leonelquinteros-gotext-dev,
golang-golang-x-text-dev,
postgresql-all (>= 217~),
sqitch,
pgtap,
postgresql-15-pg-libphonenumber,
postgresql-15-pgtap,
postgresql-15-pguri,
postgresql-15-vat,
postgresql-15-iban
Standards-Version: 4.6.0
XS-Go-Import-Path: dev.tandem.ws/tandem/numerus
Vcs-Browser: https://dev.tandem.ws/tandem/numerus
Vcs-Git: https://dev.tandem.ws/tandem/numerus.git
Homepage: https://dev.tandem.ws/tandem/numerus
Rules-Requires-Root: no
Package: golang-tandem-numerus-dev
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends:
${misc:Depends},
golang-github-jackc-pgx-v4-dev
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accounting records, intended for
freelancers working in Spain.
.
This is the dev package.
Package: numerus
Architecture: any
Depends:
${shlibs:Depends},
${misc:Depends},
weasyprint
Built-Using: ${misc:Built-Using}
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accouting records, intended for
freelancers working in Spain.
Package: numerus-sqitch
Architecture: all
Depends:
${misc:Depends},
postgresql-15-pg-libphonenumber,
postgresql-15-pguri,
postgresql-15-vat,
postgresql-15-iban,
sqitch
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accouting records, intended for
freelancers working in Spain.
.
This is the Sqitch migration package.
Package: numerus-demo
Architecture: all
Depends:
${misc:Depends},
sqitch
Description: Simple invoicing and accounting web application
A simple web application to keep invoice and accouting records, intended for
freelancers working in Spain.
.
This is the demo package.