numerus/pkg
jordi fita mas 5cae0efe8f Fix validation of product ID for invoice products that have none
For some reason, i assumed that if the invoice product has and ID, that
is it comes from the database, it must also have a product ID, which is
incorrect, because we allow invoice lines with products not added to the
product relation.

I am using zero to mean “no product ID”, so now that validation has to
include the zero as well.
2023-05-22 11:16:21 +02:00
..
company.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
contacts.go Add contact’s inline form for tags 2023-05-12 11:32:39 +02:00
dashboard.go Add tooltips to the SVG chart with date and amount 2023-05-21 19:22:46 +02:00
db.go Properly register array and composite PostgreSQL types with pgtype 2023-02-20 11:42:21 +01:00
expenses.go Add attach_to_expense SQL function 2023-05-15 12:38:40 +02:00
form.go Use a null as product ID when adding new products to invoices 2023-05-22 11:06:06 +02:00
htmx.go Use HTMx to add product rows “inline” in the invoice form 2023-04-24 02:00:38 +02:00
invoices.go Fix validation of product ID for invoice products that have none 2023-05-22 11:16:21 +02: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 Use a null as product ID when adding new products to invoices 2023-05-22 11:06:06 +02:00
products.go Add the inline form for product tags 2023-05-09 12:18:31 +02:00
profile.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Begin the dashboard with expenses, gross income, net income, and taxes 2023-05-16 14:56:49 +02:00
template.go Begin the dashboard with expenses, gross income, net income, and taxes 2023-05-16 14:56:49 +02:00