numerus/pkg
jordi fita mas b48a974086 Add expenses statuses
We only want two statuses for expense: not yet paid (pending), and paid.
Thus, it is a bit different from quotes and invoices, because expenses
do not pass throw the “workflow” of created→sent→{pending,paid}. That’s
way in this case the status field is already in the new expense form,
instead of hidden, and by pending is not equivalent to created but
unpaid (i.e., the same status color).

With the new select field in the form, the file field no longer can
span two columns or it would be alone on the next row.

Closes #67.
2023-07-11 15:33:26 +02:00
..
company.go Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
contacts.go Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +02:00
dashboard.go Fix passing company ID to expenses chart query 2023-06-21 09:47:23 +02:00
db.go Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
expenses.go Add expenses statuses 2023-07-11 15:33:26 +02:00
form.go Create validation function for SQL domains and for phones 2023-07-03 11:31:59 +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 Refactor getting the invoice status options in a single function 2023-07-11 15:26:23 +02:00
locale.go Add currency_pattern to language relation 2023-02-23 12:12:33 +01:00
logger.go Reduce the amount of useless data in request’s log 2023-06-13 16:05:40 +02:00
login.go Log the remote address, and only trust localhost proxies 2023-06-13 14:21:54 +02:00
pgtypes.go Split contact relation into tax_details, phone, web, and email 2023-06-30 21:32:48 +02:00
products.go There is no need for array_to_string() in tags 2023-05-27 21:36:10 +02:00
profile.go Create constants for the HTMX request and response headers used 2023-04-06 12:07:20 +02:00
quote.go Keep products in invoices/quotes sorted by (roughly) insertion order 2023-07-07 11:34:26 +02:00
recover.go Gofmt recover.go 2023-01-22 20:37:34 +01:00
router.go Allow importing contacts from Holded 2023-07-03 00:05:47 +02:00
slug.go Add the customer name to the invoice’s PDF file name 2023-07-07 11:34:34 +02:00
template.go Add the customer name to the invoice’s PDF file name 2023-07-07 11:34:34 +02:00