Commit graph

37 commits

Author SHA1 Message Date
aa9f46a222
feat/stripe integration (#48) 2025-10-19 15:48:59 +02: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
40d2338c0f
feat(logging): add slog-based structured logging
Introduce slog-based structured logging throughout the booking service
and
server handlers. Add configurable log level via LOG_LEVEL environment
variable. Replace legacy log usage with slog and propagate logger to
booking service for improved observability.
2025-09-12 12:17:22 -04:00
b0198f7f9a
translate platform and payment method in invoices (#42) 2025-02-22 09:24:34 +01:00
541c813be0
Raw 34 enable payments (#35)
Closes #34
2025-01-24 17:30:35 +01:00
6376fbd234
RE19 taxes only for booking (#24)
* create taxes only ofr booking platform

* also for sync

sync
2024-11-14 23:29:20 +01:00
34ce10ff86
move booking to service layer 2024-09-12 22:18:12 +02:00
78ca637807
call calendar driver from the booking service 2024-09-11 09:38:22 +02:00
4c209da0f6
move calendar to driver layer 2024-09-11 09:09:23 +02:00
49dde76af6
hx boost helper 2024-09-09 22:34:29 +02:00
701a32671a
fix search bug introduce isHxRequest helper 2024-09-09 17:42:57 +02:00
aa5dd17d07
move config and constant packages to internal 2024-09-08 21:34:36 +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
8417ac8ddc
fix linter error 2024-08-23 10:11:39 +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
c79232a019
fix linter warning 2024-08-21 22:01:37 +02:00
75832d251d
use colorful logger 2024-08-21 16:56:11 +02:00
fefbbc2ae9
add calendars as we use them 2024-08-17 00:59:45 +02:00
3983de237f
sync calendar on item creation 2024-08-16 19:58:49 +02:00
ac10e65097
Refactor service (#14)
* add comments to main file

* create health check handler

health check

* use naming convention for booking handler

* use naming convention for hamndlers

naming convention

* clean up
2024-08-07 09:12:50 +02:00
967df34451
add external field to form 2024-07-14 23:35:39 +02:00
1f55bf3556
make external id nullable 2024-07-14 23:05:14 +02:00
c8ab60e07e
add external_id to not duplicate bookings 2024-06-15 09:11:56 +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
65423c176a
use std lib for time formatting 2024-04-12 17:31:24 +02:00
28866ac5fb
update line item 2024-03-22 21:45:57 +01:00
b89a760aa3
get line form on click edit button 2024-03-22 15:19:55 +01: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
f3e266e502
replace unused constants with config values 2024-03-17 17:50:48 +01:00
bc2c7a7583
basic tracing middleware 2024-03-11 22:11:08 +01:00
e100f50def
setry transaction 2024-03-11 20:59:15 +01:00
761719f1bf
rename packages to singular 2024-03-03 18:49:03 +01:00
68df2f06a2
add total to the booking overview page 2024-02-28 17:17:26 +01:00
d5654f808c
invoice number in place of db id 2024-02-26 17:17:29 +01:00
Renamed from internal/server/handler_booking.go (Browse further)