numerus/pkg
jordi fita mas d6034ad732 Add discount and tax classes columns to invoice
This was actually the (first) reason we added the tax classes: to show
them in columns on the invoice—without the class we would need a column
for each tax rate, even though they are the same tax.

The invoice design has the product total with taxes at the last column,
above the tax base, that i am not so sure about, but it seems that it
has not brought any problem whatsoever so far, so it remains as is.

Had to reduce the invoice’s font size to give more space to the table
or the columns would be right next to each other.  Oriol also told me
to add more vertical spacing to the table’s footer.
2023-03-01 14:08:12 +01:00
..
company.go Introduce the concept of tax class 2023-02-28 12:02:27 +01:00
contacts.go Refactor checking for pgx.ErrNoRows in a function 2023-02-14 12:46:11 +01:00
db.go Properly register array and composite PostgreSQL types with pgtype 2023-02-20 11:42:21 +01:00
form.go Add validation of single tax from each class 2023-03-01 11:55:26 +01:00
invoices.go Add discount and tax classes columns to invoice 2023-03-01 14:08:12 +01:00
locale.go Add currency_pattern to language relation 2023-02-23 12:12:33 +01:00
logger.go Move source file to the root of pkg 2023-01-17 10:40:22 +01:00
login.go Replace default router with github.com/julienschmidt/httprouter 2023-02-03 12:30:56 +01:00
pgtypes.go Temporarily switch to admin role to register types 2023-02-24 13:17:37 +01:00
products.go Add validation of single tax from each class 2023-03-01 11:55:26 +01:00
profile.go Allow multiple taxes, and even not tax, for products 2023-02-08 13:47:36 +01:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Keep all “new invoice actions” on the same /new URI 2023-02-27 13:13:28 +01:00
template.go Add discount and tax classes columns to invoice 2023-03-01 14:08:12 +01:00