Commit graph

30 commits

Author SHA1 Message Date
f836822ff0
upgrade dependencies and remove dead code 2025-05-04 23:48:12 +02:00
db1fa2cbd9
feat: update Go version and dependencies
Updated Go version to 1.24 and upgraded dependencies to their latest
compatible versions. This includes updates to Dockerfiles, go.mod,
and go.sum. Regenerated templated files with templ v0.3.857.
2025-04-23 17:31:46 +02:00
9e9cd8acc4
update dependencies 2025-03-23 23:06:19 +01:00
7d909f34e3
remove payment status field on item (#41) 2025-02-22 02:34:13 +01:00
cf1620592a
create invoice (#39)
### TL;DR

Enhanced invoice generation with improved formatting and Euro symbol display

### What changed?

- Added Euro symbol (€) to monetary values in the invoice template
- Implemented new invoice data structure with dedicated types for lines and payments
- Created ToInvoice method to properly format booking data for invoice generation
- Added HTML template parsing and rendering functionality
- Improved date formatting for consistency
- Added new API endpoint for booking creation

### How to test?

1. Create a new booking through the API
2. Navigate to the PDF generation endpoint
3. Verify that monetary values display with Euro symbol
4. Check that dates are properly formatted
5. Confirm that payment history and totals are correctly calculated
6. Validate that the generated HTML maintains proper formatting

### Why make this change?

To improve invoice readability and consistency by standardizing monetary value display and providing better data structure for invoice generation. This change also makes the system more maintainable by separating concerns between data transformation and presentation.
2025-02-04 11:34:14 +01:00
b8265cf80f
fix: only update the payments on payment creation 2025-01-25 00:21:30 +01:00
541c813be0
Raw 34 enable payments (#35)
Closes #34
2025-01-24 17:30:35 +01:00
b4ffff3c67
improve header layout 2025-01-08 13:52:35 +01:00
ffa7f140d1
use daisyUI (#25)
* use tailwind and daisyui

* split the layout in multiple components

* remove unused code

* footer compoonent

* login form

log

* booking table

fd

* cancel style

* header

* booking form

* new booking

* line items

* line item

* report

* uniform headings
2024-11-16 19:24:26 +01:00
620465f206
RE20 github link footer (#21)
* add a github logo link to the repository in the footer

* update deps

* remove useless css loading
2024-11-14 22:14:20 +01:00
4768e066e9
up templates 2024-09-08 21:16:13 +02:00
9765edc318
update templ version 2024-08-05 20:19:33 +02:00
aff18b2b12
split view models 2024-07-15 16:59:23 +02:00
22175a9b39
fix linter errors 2024-07-14 23:43:14 +02:00
967df34451
add external field to form 2024-07-14 23:35:39 +02:00
1ec2f5365c
update templ version 2024-06-14 22:35:20 +02:00
c3c52cfbf7
reformat 2024-06-02 11:27:08 +02:00
0a41989b01
cancel booking in db 2024-06-01 20:56:13 +02:00
04586832fa
add cancel flag on booking 2024-06-01 20:21:24 +02:00
fee3f660ed
add login page 2024-05-10 12:45:08 +02:00
0e1877e592
fix html table 2024-04-21 22:14:39 +02:00
bb8ea5fe07
require all fields to create item 2024-04-20 21:53:33 +02:00
f2ed530b71
fix dev strings 2024-04-19 20:44:54 +02:00
e1be7b3a88
cleanup 2024-04-19 15:01:09 +02:00
641605098f
clean up 2024-04-12 11:58:58 +02:00
71d5fbe21b
move request form to components 2024-04-12 11:54:43 +02:00
1ea82268bd
move layouts to own folder 2024-04-12 11:22:55 +02:00
8db9e6ebb8
mark line item as paid 2024-03-22 12:13:22 +01:00
0215361e43
update booking form 2024-03-21 22:05:01 +01:00
761719f1bf
rename packages to singular 2024-03-03 18:49:03 +01:00
Renamed from internal/views/booking_by_id_templ.go (Browse further)