Commit Graph

81 Commits

Author SHA1 Message Date
Thomas Ruoff
71c16a289d clean up type mess in SSR functions 2020-11-06 22:51:56 +01:00
Thomas Ruoff
7ee9803adc make isAdminSession usable by api routes 2020-11-04 00:33:35 +01:00
Thomas Ruoff
1dfd1f1f8b add a proper login page 2020-11-04 00:14:29 +01:00
Thomas Ruoff
b283ffe476 send mail when booking is confirmed or rejected 2020-11-03 21:50:12 +01:00
Thomas Ruoff
acf0366d9b add calendar to admin booking page 2020-11-03 21:06:05 +01:00
Thomas Ruoff
cb9932240d add confirm and reject buttons to adming/booking 2020-11-02 23:25:00 +01:00
Thomas Ruoff
8c252cca2b make getBookingStatus work without a booking 2020-11-02 23:24:30 +01:00
Thomas Ruoff
19c8bc7be2 move admin api to /admin 2020-11-02 22:44:27 +01:00
Thomas Ruoff
ecc3715f27 fix allow header for routes 2020-11-02 22:05:32 +01:00
Thomas Ruoff
aa2c9a9cab set for correctly on labels 2020-10-31 00:15:48 +01:00
Thomas Ruoff
7d40ffd1da workaround for build error 2020-10-29 22:17:29 +01:00
Thomas Ruoff
e6c6fc72a7 make stored an own page and redirect there 2020-10-28 23:36:31 +01:00
Thomas Ruoff
84026c2576 extract getServerSideBooking 2020-10-28 23:35:31 +01:00
Thomas Ruoff
e2aab12cdf add email to customer as well 2020-10-26 23:43:39 +01:00
Thomas Ruoff
c55f8f8b3a Admin page for bill wit iron-session (#13) 2020-10-22 00:40:09 +02:00
Thomas Ruoff
42b2dc675b add missing import 2020-10-11 22:03:37 +02:00
Thomas Ruoff
a5b47a7311 add booking status to bill 2020-10-10 01:01:46 +02:00
Thomas Ruoff
e029547fe1 rearrange fields in bill 2020-10-10 00:54:52 +02:00
Thomas Ruoff
396e4b0a86 use fixed tarifs and add additional costs 2020-10-10 00:39:29 +02:00
Thomas Ruoff
da91a9b09c add header 2020-10-09 00:12:49 +02:00
Thomas Ruoff
5fde863577 style header 2020-10-08 23:52:08 +02:00
Thomas Ruoff
a0cf63dcdc default to max milage found for a new bill 2020-10-08 00:35:21 +02:00
Thomas Ruoff
48c9fc9301 add free of charge rate 2020-10-08 00:17:29 +02:00
Thomas Ruoff
55b84a438f use error notification and disable button 2020-10-07 23:39:29 +02:00
Thomas Ruoff
aedc9c894f fix alert text 2020-10-07 23:33:09 +02:00
Thomas Ruoff
e4082353e3 extract select element 2020-10-07 23:31:44 +02:00
Thomas Ruoff
f78b8ea772 move general componets out from wizard 2020-10-07 23:11:07 +02:00
Thomas Ruoff
db37b76a6e add error handling on saving bill 2020-10-07 22:46:13 +02:00
Thomas Ruoff
59ab8b64fa type form event 2020-10-07 22:46:13 +02:00
Thomas Ruoff
64029ec06a fix rates enum name 2020-10-07 22:46:13 +02:00
Thomas Ruoff
c396cdcbf9 further work on billing 2020-10-07 22:46:13 +02:00
Thomas Ruoff
f8434233d9 further work on bills 2020-10-07 22:46:13 +02:00
Thomas Ruoff
ec1b2e9629 enable bill storing 2020-10-07 22:46:13 +02:00
Thomas Ruoff
4712167af9 add rough billing section 2020-10-07 22:46:13 +02:00
Thomas Ruoff
2e73875d37 first stab on bill model 2020-10-07 22:46:13 +02:00
Thomas Ruoff
52917f7bbd set name of calendar 2020-09-18 00:53:10 +02:00
Thomas Ruoff
5e2f83bc0f ics is the correct suffix 2020-09-18 00:53:10 +02:00
Thomas Ruoff
da0ee84974 fix content type for ical 2020-09-18 00:53:10 +02:00
Thomas Ruoff
56c8263e90 firt attempt for an ics calendar 2020-09-18 00:53:10 +02:00
Thomas Ruoff
ec7fc60e4d move calendar, so it's not visible when stored 2020-09-09 00:44:31 +02:00
Thomas Ruoff
038e2b2420 another try to fix types for models 2020-09-09 00:25:09 +02:00
Thomas Ruoff
82270e944c remove stale styles import 2020-09-09 00:25:09 +02:00
Thomas Ruoff
a03a837615 add booking status as calendar 2020-09-09 00:25:09 +02:00
Thomas Ruoff
cf92a69fa7 return 400 when validation fails 2020-09-09 00:25:09 +02:00
Thomas Ruoff
96060d1415 improve styling for bigger screens 2020-09-09 00:25:09 +02:00
Thomas Ruoff
4b16e07985 further code improvements 2020-09-09 00:25:09 +02:00
Thomas Ruoff
52a68e9989 further typing improvements 2020-09-09 00:25:09 +02:00
Thomas Ruoff
be1e22460d rename js/x ts/x 2020-09-09 00:25:09 +02:00
Thomas Ruoff
7ca2322717 introduce jsx files 2020-09-09 00:25:09 +02:00
Thomas Ruoff
a8525c5e34 change requested string 2020-08-26 00:56:13 +02:00