Commit Graph

1341 Commits

Author SHA1 Message Date
Thomas Ruoff
fdff4e5f7c use new Image component 2020-10-29 22:17:29 +01:00
Thomas Ruoff
7d40ffd1da workaround for build error 2020-10-29 22:17:29 +01:00
Thomas Ruoff
d41bad0367 upgrade nextjs 10 and react 17 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
02a3702837 move org from reason to contact 2020-10-28 23:36:10 +01:00
Thomas Ruoff
84026c2576 extract getServerSideBooking 2020-10-28 23:35:31 +01:00
Thomas Ruoff
e1ebc86ca1 add info-message styles 2020-10-28 23:34:22 +01:00
Thomas Ruoff
9b3ea665f9 fix type warning in session 2020-10-28 23:33:29 +01:00
Thomas Ruoff
ae8ed9912a header links to home 2020-10-26 23:43:47 +01:00
Thomas Ruoff
e2aab12cdf add email to customer as well 2020-10-26 23:43:39 +01:00
Thomas Ruoff
ef4d9e6ff1 pull emails from env vars 2020-10-26 22:59:02 +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
9d69225d46 fix coloring of selected and hovered 2020-10-10 22:11:00 +02:00
Thomas Ruoff
36226a7fa9 allow booking today 2020-10-10 21:56:52 +02:00
Thomas Ruoff
ef9a699da6 style date select 2020-10-10 21:49:40 +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
9a4d55a3e2 fix error when no bill was found 2020-10-10 00:45:50 +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
765d6c1a46 prparation for AWs 2020-10-09 00:11:35 +02:00
Thomas Ruoff
940dc3cf59 make header configurable 2020-10-09 00:10:56 +02:00
Thomas Ruoff
5fde863577 style header 2020-10-08 23:52:08 +02:00
Thomas Ruoff
306a5729fa bump all version 2020-10-08 22:46:46 +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
aafe849e6e add waiting on disabled button 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
df6ec51af9 small change on bill schema 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
bf2ae41a4d fix enum 2020-10-07 22:46:13 +02:00
Thomas Ruoff
2b4d8833b9 remove unused import 2020-10-07 22:46:13 +02:00
Thomas Ruoff
367a16fabb remove obsolete existence check for milageStart/End 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
7c6dc610b8 fix cursor on other than month views 2020-09-29 23:30:38 +02:00
Thomas Ruoff
fcd6e40b0d do not bail out if start and end are unordered 2020-09-29 23:30:38 +02:00
Thomas Ruoff
6dca729e18 remove border from calendar 2020-09-29 23:30:38 +02:00
Thomas Ruoff
c231646190 disable selection of range over other bookings 2020-09-29 23:30:38 +02:00
Thomas Ruoff
898e6b8295 enable to select dates in calendar 2020-09-29 23:30:38 +02:00
Thomas Ruoff
928d6b3d4e fix typing error 2020-09-29 23:30:38 +02:00