Commit graph

11 commits

Author SHA1 Message Date
584d81f7bd
feat(i18n): add language toggle and localize views
Some checks failed
CI / checks (push) Has been cancelled
2026-01-09 16:09:20 -04:00
ac94faedb0
refactor: unify ID and API key naming conventions
This commit standardizes the naming of identifier and API key fields
across the codebase to use consistent camel case (e.g., `ID`, `APIKey`,
`DatabaseURL`). This includes updates to struct fields, method names,
function parameters, and environment variable references. The changes
improve code clarity and maintainability by reducing ambiguity and
aligning with Go naming conventions. No functional behavior is changed.
2025-10-03 19:47:41 +02: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
541c813be0
Raw 34 enable payments (#35)
Closes #34
2025-01-24 17:30:35 +01:00
025f31f79d
update dependencies 2024-12-07 12:31:51 +01:00
509afddf92
install G Calendar client 2024-08-03 22:33:50 +02:00
f764e1007c
add transport 2024-04-06 13:34:33 +02:00
72d0212316
refactor 2024-02-16 12:13:33 +01:00
a971aab58c
view model 2024-02-09 23:04:02 +01:00
12c90cb4b8
initial project structure 2024-02-04 12:50:05 +01:00
a1b7c5921b
initial project structure 2024-02-04 12:48:43 +01:00