Commit graph

47 commits

Author SHA1 Message Date
34ce10ff86
move booking to service layer 2024-09-12 22:18:12 +02:00
876d54d7bb
move pdf to driver layer 2024-09-11 11:04:34 +02:00
78ca637807
call calendar driver from the booking service 2024-09-11 09:38:22 +02:00
542dbf0f97
split the service layer 2024-09-08 23:12:13 +02:00
79873249d6
introduce booking store 2024-09-08 22:51:50 +02:00
aa5dd17d07
move config and constant packages to internal 2024-09-08 21:34:36 +02:00
e78a370448
improve regex 2024-09-04 09:42:20 +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
abf37d8413
add search by custumer name 2024-08-23 09:55:19 +02:00
3983de237f
sync calendar on item creation 2024-08-16 19:58:49 +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
18daf5d482
improve date parsing 2024-07-06 10:50:39 +02:00
ee3674e12f
better date formatting 2024-06-29 09:28:51 +02:00
6bff5ccc18
use left join for bookings and items 2024-06-28 17:03:23 +02:00
69fdfa66af
fix date format 2024-06-20 18:45:34 +02:00
82773aab3b
fix date regex 2024-06-20 18:39:26 +02:00
c8ab60e07e
add external_id to not duplicate bookings 2024-06-15 09:11:56 +02:00
33c1c450e0
store items 2024-06-15 07:51:05 +02:00
0b5c12716c
store booking to db 2024-06-15 07:39:23 +02:00
cee291a88f
move to service 2024-06-14 13:07:53 +02:00
ab52e6ec95
show cancel state on booking list 2024-06-02 11:07:42 +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
07f91e8f85
store booking request in D 2024-03-10 20:34:29 +01:00
1daa3eb7b8
add request booking feature 2024-03-10 10:45:30 +01:00
a7514e9419
inline return else 2024-03-03 20:47:12 +01:00
24799bd2db
add booking fees total 2024-02-29 16:02:18 +01:00
da38546c3d
use booking.com logic for reports 2024-02-29 15:27:21 +01:00
788711e8c9
fix booking overview query 2024-02-28 22:56:04 +01:00
322f440716
fix the report query 2024-02-28 22:50:26 +01:00
ea039dc428
improve the report sql query 2024-02-28 17:56:23 +01:00
68df2f06a2
add total to the booking overview page 2024-02-28 17:17:26 +01:00
b8c83b2d2d
add card only revenue 2024-02-28 10:44:53 +01:00
584c30bdd4
add totals to the report 2024-02-26 18:36:30 +01:00
8c9886991e
fix booking total in report preview 2024-02-26 17:28:55 +01:00
d5654f808c
invoice number in place of db id 2024-02-26 17:17:29 +01:00
3dd36da114
create item in service 2024-02-16 18:20:15 +01:00
92f8085537
get booking by id 2024-02-16 18:11:25 +01:00
f3bf9b3caf
create booking service 2024-02-16 18:08:24 +01:00
dc00eb33a8
all booking to service 2024-02-16 15:50:07 +01:00
33ff39cdce
move booking folder 2024-02-16 15:37:43 +01:00
Renamed from internal/domains/booking/service.go (Browse further)