Commit Graph

  • 195da65cd9 remove *Document intefaces from FE code Thomas Ruoff 2020-11-06 23:37:04 +01:00
  • 71c16a289d clean up type mess in SSR functions Thomas Ruoff 2020-11-06 22:51:56 +01:00
  • ecfa0c2c06 slight reject mail adjustments Thomas Ruoff 2020-11-04 00:42:14 +01:00
  • 7ee9803adc make isAdminSession usable by api routes Thomas Ruoff 2020-11-04 00:33:35 +01:00
  • 1dfd1f1f8b add a proper login page Thomas Ruoff 2020-11-04 00:14:29 +01:00
  • b283ffe476 send mail when booking is confirmed or rejected Thomas Ruoff 2020-11-03 21:50:12 +01:00
  • acf0366d9b add calendar to admin booking page Thomas Ruoff 2020-11-03 21:06:05 +01:00
  • 0a75eb0404 extract non-interactive calendar Thomas Ruoff 2020-11-03 21:05:47 +01:00
  • 8715e09563 Revert "move daysbooked fetch to context" Thomas Ruoff 2020-11-02 23:30:19 +01:00
  • cb9932240d add confirm and reject buttons to adming/booking Thomas Ruoff 2020-11-02 23:25:00 +01:00
  • 8c252cca2b make getBookingStatus work without a booking Thomas Ruoff 2020-11-02 23:24:30 +01:00
  • 19c8bc7be2 move admin api to /admin Thomas Ruoff 2020-11-02 22:44:27 +01:00
  • d440d0e07e add bill to booking if there Thomas Ruoff 2020-11-02 22:43:59 +01:00
  • ecc3715f27 fix allow header for routes Thomas Ruoff 2020-11-02 22:05:32 +01:00
  • c52e3bf921 add useCreateIndex to mongo connection Thomas Ruoff 2020-11-02 22:04:26 +01:00
  • 92324fc45f disable revalidate on swr Thomas Ruoff 2020-11-01 22:22:59 +01:00
  • 28035f9516 fix build by making name optional Thomas Ruoff 2020-11-01 22:22:41 +01:00
  • aa2c9a9cab set for correctly on labels Thomas Ruoff 2020-10-31 00:15:48 +01:00
  • 87b38e6d30 move daysbooked fetch to context Thomas Ruoff 2020-10-30 23:44:24 +01:00
  • 3d29e76b9a populate days on save Thomas Ruoff 2020-10-30 23:29:04 +01:00
  • 6d290cd6e9 update dev deps Thomas Ruoff 2020-10-29 21:27:57 +01:00
  • 9f5a7fce37 update deps Thomas Ruoff 2020-10-29 21:22:14 +01:00
  • fdff4e5f7c use new Image component Thomas Ruoff 2020-10-29 21:11:47 +01:00
  • 7d40ffd1da workaround for build error Thomas Ruoff 2020-10-29 00:25:43 +01:00
  • d41bad0367 upgrade nextjs 10 and react 17 Thomas Ruoff 2020-10-28 23:45:42 +01:00
  • e6c6fc72a7 make stored an own page and redirect there Thomas Ruoff 2020-10-28 23:36:31 +01:00
  • 02a3702837 move org from reason to contact Thomas Ruoff 2020-10-28 23:36:10 +01:00
  • 84026c2576 extract getServerSideBooking Thomas Ruoff 2020-10-28 23:35:31 +01:00
  • e1ebc86ca1 add info-message styles Thomas Ruoff 2020-10-28 23:34:22 +01:00
  • 9b3ea665f9 fix type warning in session Thomas Ruoff 2020-10-28 23:33:29 +01:00
  • ae8ed9912a header links to home Thomas Ruoff 2020-10-26 23:43:47 +01:00
  • e2aab12cdf add email to customer as well Thomas Ruoff 2020-10-26 23:02:05 +01:00
  • ef4d9e6ff1 pull emails from env vars Thomas Ruoff 2020-10-26 22:59:02 +01:00
  • c55f8f8b3a Admin page for bill wit iron-session (#13) Thomas Ruoff 2020-10-22 00:40:09 +02:00
  • 42b2dc675b add missing import Thomas Ruoff 2020-10-11 22:03:37 +02:00
  • 9d69225d46 fix coloring of selected and hovered Thomas Ruoff 2020-10-10 22:11:00 +02:00
  • 36226a7fa9 allow booking today Thomas Ruoff 2020-10-10 21:56:52 +02:00
  • ef9a699da6 style date select Thomas Ruoff 2020-10-10 21:49:40 +02:00
  • a5b47a7311 add booking status to bill Thomas Ruoff 2020-10-10 01:01:46 +02:00
  • e029547fe1 rearrange fields in bill Thomas Ruoff 2020-10-10 00:54:52 +02:00
  • 9a4d55a3e2 fix error when no bill was found Thomas Ruoff 2020-10-10 00:45:50 +02:00
  • 396e4b0a86 use fixed tarifs and add additional costs Thomas Ruoff 2020-10-10 00:39:29 +02:00
  • da91a9b09c add header Thomas Ruoff 2020-10-09 00:12:49 +02:00
  • 765d6c1a46 prparation for AWs Thomas Ruoff 2020-10-09 00:11:35 +02:00
  • 940dc3cf59 make header configurable Thomas Ruoff 2020-10-09 00:10:56 +02:00
  • 5fde863577 style header Thomas Ruoff 2020-10-08 23:52:08 +02:00
  • 306a5729fa bump all version Thomas Ruoff 2020-10-08 22:46:46 +02:00
  • a0cf63dcdc default to max milage found for a new bill Thomas Ruoff 2020-10-08 00:35:21 +02:00
  • 48c9fc9301 add free of charge rate Thomas Ruoff 2020-10-08 00:17:29 +02:00
  • 55b84a438f use error notification and disable button Thomas Ruoff 2020-10-07 23:39:29 +02:00
  • aedc9c894f fix alert text Thomas Ruoff 2020-10-07 23:32:05 +02:00
  • e4082353e3 extract select element Thomas Ruoff 2020-10-07 23:31:44 +02:00
  • f78b8ea772 move general componets out from wizard Thomas Ruoff 2020-10-07 23:11:07 +02:00
  • db37b76a6e add error handling on saving bill Thomas Ruoff 2020-10-07 22:35:54 +02:00
  • aafe849e6e add waiting on disabled button Thomas Ruoff 2020-10-07 22:35:32 +02:00
  • 59ab8b64fa type form event Thomas Ruoff 2020-10-07 22:21:26 +02:00
  • 64029ec06a fix rates enum name Thomas Ruoff 2020-10-07 22:20:21 +02:00
  • c396cdcbf9 further work on billing Thomas Ruoff 2020-10-07 00:32:22 +02:00
  • f8434233d9 further work on bills Thomas Ruoff 2020-10-05 22:02:02 +02:00
  • ec1b2e9629 enable bill storing Thomas Ruoff 2020-10-05 00:09:05 +02:00
  • df6ec51af9 small change on bill schema Thomas Ruoff 2020-10-05 00:08:20 +02:00
  • 4712167af9 add rough billing section Thomas Ruoff 2020-10-02 23:46:16 +02:00
  • bf2ae41a4d fix enum Thomas Ruoff 2020-10-02 23:45:59 +02:00
  • 2b4d8833b9 remove unused import Thomas Ruoff 2020-09-30 00:47:15 +02:00
  • 367a16fabb remove obsolete existence check for milageStart/End Thomas Ruoff 2020-09-30 00:28:59 +02:00
  • 2e73875d37 first stab on bill model Thomas Ruoff 2020-09-30 00:18:08 +02:00
  • 7c6dc610b8 fix cursor on other than month views Thomas Ruoff 2020-09-24 00:12:37 +02:00
  • fcd6e40b0d do not bail out if start and end are unordered Thomas Ruoff 2020-09-24 00:12:03 +02:00
  • 6dca729e18 remove border from calendar Thomas Ruoff 2020-09-24 00:11:13 +02:00
  • c231646190 disable selection of range over other bookings Thomas Ruoff 2020-09-23 23:56:52 +02:00
  • 898e6b8295 enable to select dates in calendar Thomas Ruoff 2020-09-23 00:48:42 +02:00
  • 928d6b3d4e fix typing error Thomas Ruoff 2020-09-22 00:25:23 +02:00
  • 02c2b45747 replace momentjs (incl. calendar) Thomas Ruoff 2020-09-22 00:21:08 +02:00
  • 7f4604f0e6 simplify description Thomas Ruoff 2020-09-18 00:38:47 +02:00
  • 52917f7bbd set name of calendar Thomas Ruoff 2020-09-17 23:47:02 +02:00
  • 5e2f83bc0f ics is the correct suffix Thomas Ruoff 2020-09-16 23:46:57 +02:00
  • da0ee84974 fix content type for ical Thomas Ruoff 2020-09-16 23:38:19 +02:00
  • 826dd44726 improve ical Thomas Ruoff 2020-09-16 23:37:09 +02:00
  • c136b2d2e1 popuplate booker when getting bookings Thomas Ruoff 2020-09-16 23:36:28 +02:00
  • cd5fa56807 add url helper Thomas Ruoff 2020-09-16 23:36:11 +02:00
  • 56c8263e90 firt attempt for an ics calendar Thomas Ruoff 2020-09-16 00:31:42 +02:00
  • 2b0cbe565f tailwind add removeDeprectatedGapUtilities Thomas Ruoff 2020-09-17 23:20:23 +02:00
  • 42e91c6f18 tailwind add purgeLayersByDefault Thomas Ruoff 2020-09-17 23:19:56 +02:00
  • 196c9b0e2e update dev deps Thomas Ruoff 2020-09-17 23:08:35 +02:00
  • 8a16f5f1fe update deps Thomas Ruoff 2020-09-17 23:05:56 +02:00
  • ab6db69e87 rejuggle dev and regular deps Thomas Ruoff 2020-09-17 23:04:26 +02:00
  • 00d30a4459 throw custom ValidationError Thomas Ruoff 2020-09-15 23:38:13 +02:00
  • e3a9da6efa improve server side validation error for double booking Thomas Ruoff 2020-09-15 23:37:07 +02:00
  • e2e94d86a2 style error message better Thomas Ruoff 2020-09-15 22:53:54 +02:00
  • 9a0bf11749 add error notification next to send button Thomas Ruoff 2020-09-14 23:25:18 +02:00
  • c081640eaa indicate loading daysBooked in calendar Thomas Ruoff 2020-09-14 23:05:14 +02:00
  • b5742f389e add BookingBill model Thomas Ruoff 2020-09-12 00:02:25 +02:00
  • 17ca9e1ae4 make org, purpose, destination optional Thomas Ruoff 2020-09-10 22:39:05 +02:00
  • feeec314d0 remove eslint Thomas Ruoff 2020-09-10 22:38:46 +02:00
  • ec7fc60e4d move calendar, so it's not visible when stored Thomas Ruoff 2020-09-09 00:43:43 +02:00
  • 75969dc2ac add classnames types Thomas Ruoff 2020-09-09 00:30:48 +02:00
  • 95b18c5a5e Bump bl from 2.2.0 to 2.2.1 dependabot[bot] 2020-09-08 22:26:13 +00:00
  • 77a3410641 set min-width for all the things Thomas Ruoff 2020-09-09 00:12:46 +02:00
  • eb82b9b292 render past days in gray Thomas Ruoff 2020-09-09 00:03:19 +02:00
  • 18337a7ac7 break start/end date fields together Thomas Ruoff 2020-09-08 23:55:30 +02:00