Commit graph

15 commits

Author SHA1 Message Date
71a0c033e8
embed html template 2025-02-04 18:46:56 +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
541c813be0
Raw 34 enable payments (#35)
Closes #34
2025-01-24 17:30:35 +01:00
04be887ad8
remove unused css 2024-08-23 16:24:24 +02:00
4fc580c93e
update css and js 2024-08-10 13:37:42 +02:00
f66ada145a
use google signin button 2024-05-19 21:37:17 +02:00
08739d10ba
add favicons 2024-03-11 21:12:46 +01:00
56704a4062
improve landing page 2024-03-03 15:04:19 +01:00
575dc5ad7b
create report pdf 2024-03-03 14:03:23 +01:00
3d6d1474a2
add host details 2024-03-03 12:15:45 +01:00
6a25589751
embed assets in binry 2024-02-25 00:08:11 +01:00
b42fe35831
update css lib and UI 2024-02-17 13:56:51 +01:00
b237484b58
add links to useful websites 2024-02-17 13:37:23 +01:00
dd13e5f3ce
styling 2024-02-16 22:10:54 +01:00
88f4dd1e65
change app name and add assets 2024-02-04 14:04:30 +01:00