Commit graph

86 commits

Author SHA1 Message Date
0f327c814a
fix: normalize minio endpoints
Some checks failed
CI / checks (push) Has been cancelled
2026-03-21 10:19:33 +01:00
bb71291278
fix(booking): restore stripe payment link button handler
Some checks failed
CI / checks (push) Has been cancelled
2026-02-18 19:00:22 +01:00
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
a0b7672e9e
feat(payments): add Stripe dashboard links for card payments
Some checks are pending
CI / checks (push) Waiting to run
- Add `APP_STRIPE_ACCOUNT_ID` to config and README.
- Pass Stripe account ID to payment view models.
- Show "View in Stripe" badge linking to the payment in Stripe dashboard
  for card payments when account ID and payment ID are present.
- Update Makefile to run format/lint locally instead of in container.
- Update templates and generated code to support new dashboard link.
2025-11-16 18:04:35 +01:00
91a9a74750
feat(stripe): add payment link creation for bookings
Some checks are pending
CI / checks (push) Waiting to run
Introduce backend and frontend support for generating Stripe payment
links
for outstanding booking balances. Adds a new POST endpoint to create
payment
links, updates booking view to include a Stripe button, and integrates
error handling and feedback for payment link creation. Refactors view
models and templates to support the new feature.
2025-11-01 17:22:13 +01:00
aa9f46a222
feat/stripe integration (#48) 2025-10-19 15:48:59 +02:00
2aadb421ef
chore(go): bump Go to 1.25 (Dockerfiles + go.mod); respect .gitignore 2025-09-12 11:24:06 -04:00
9c5123968a
payment form 2025-06-27 13:28:46 +02:00
968e5d2aef
line items 2025-06-27 13:15:53 +02:00
8b29657c36
booking form 2025-06-23 20:12:50 +02:00
eaa40a62f3
booking details page header 2025-06-23 19:29:45 +02:00
c0f617944c
footer 2025-06-23 19:12:51 +02:00
5a566ac13d
body spacing 2025-06-23 19:07:57 +02:00
e72ad67c98
update deps 2025-06-23 19:02:48 +02:00
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
17eb65ebdc
update booking list to card layout (#46)
### TL;DR
Transformed the bookings list from a table layout to a responsive card-based grid design.

### What changed?
- Replaced table structure with a responsive grid of cards
- Each booking is now displayed as a card with improved visual hierarchy
- Added hover effects and shadows for better interactivity
- Reorganized booking information with dedicated sections for dates and pricing
- Updated the search functionality to target the new card container
- Added euro symbol to price display
- Improved the presentation of canceled bookings

### How to test?
1. Navigate to the bookings list page
2. Verify cards display correctly on different screen sizes
3. Check that hover effects work on cards
4. Confirm search functionality still filters bookings
5. Verify canceled bookings show with strikethrough
6. Test that "View Details" links work correctly
7. Ensure all booking information is visible and properly formatted

### Why make this change?
The card-based layout provides a more modern and user-friendly interface that works better across different screen sizes. It improves the visual hierarchy of booking information and makes it easier for users to scan and interact with individual bookings. The new design also better accommodates varying content lengths and provides a more engaging visual experience.
2025-03-02 13:44:43 +01:00
b0198f7f9a
translate platform and payment method in invoices (#42) 2025-02-22 09:24:34 +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
9b4063618c
change theme 2025-01-05 17:09:06 +01:00
9f0b6e71cb
change theme 2025-01-05 01:10:41 +01:00
aa436542c4
style: Improve page layout with wider container and added margin 2024-12-24 18:03:04 +01:00
6e8ef3d1eb
feat: add plausible tracking
fd
2024-12-01 20:43:27 +01:00
c2d0ddc67a
improve layout 2024-11-25 14:58:18 +01:00
148dba120f
improve accessibility 2024-11-16 19:35:44 +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
5d826c21da
RE18 translation (#22)
* translate the item for display in the invoice

* add documentation to the makefile
2024-11-14 22:35:35 +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
3e7a07dc2a
improve month sync again 2024-09-28 09:01:48 +02:00
aa5dd17d07
move config and constant packages to internal 2024-09-08 21:34:36 +02:00
4768e066e9
up templates 2024-09-08 21:16:13 +02:00
d4e6b35a96
Create taxes for taxable items automatically (#16)
* refactor return error when building booking service

* fix the description

* set taxable item by amount

* auto create tax items if the item is taxable

* fix linter

* remove legacy tax entry

* display multiple items

* use the price from the form

* improve item sorting

* lintfix
2024-08-26 21:44:31 +02:00
04be887ad8
remove unused css 2024-08-23 16:24:24 +02:00
abf37d8413
add search by custumer name 2024-08-23 09:55:19 +02:00
f4250fb275
cleanup 2024-08-23 08:21:22 +02:00
4fc580c93e
update css and js 2024-08-10 13:37:42 +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
ae233e46e0
add alpinejs form validation on the login step 2024-06-17 17:19:48 +02:00
1ec2f5365c
update templ version 2024-06-14 22:35:20 +02:00
0db50b2268
add validation to login form 2024-06-08 13:23:43 +02:00
eef6c85fe3
add helper file 2024-06-08 12:27:05 +02:00
c3c52cfbf7
reformat 2024-06-02 11:27:08 +02:00