Commit Graph

59 Commits

Author SHA1 Message Date
Bilal Catic
1b421d651c reformat fee descriptions 2019-09-03 09:58:23 +02:00
Bilal Catic
38f0f03736 remove square brackets from membership plan name before comparing 2019-09-02 23:28:31 +02:00
Bilal Catic
d55131e1f2 select all members when sending fees to the ORD if memberIds is empty 2019-08-31 02:12:12 +02:00
Bilal Catic
831cb43a92 change reservation fee description 2019-08-30 10:58:14 +02:00
Bilal Catic
52af9913fa add member name to the fee description if member is not part of the company 2019-08-27 09:01:55 +02:00
Bilal Catic
8e3f970037 update membership fee name for specific memberships 2019-08-27 08:23:54 +02:00
Bilal Catic
85b844cd59 change fees name format 2019-08-26 14:32:00 +02:00
Bilal Catic
47ff1d86cc change incident fee name format and add weekday name 2019-08-25 18:18:44 +02:00
Bilal Catic
9c855692b7 remove incidents if new duration is longer than initial duration 2019-08-24 09:26:52 +02:00
Bilal Catic
934ffa90a7 add migration; insert 'deleted' column in booking change incidents table 2019-08-22 11:14:35 +02:00
Bilal Catic
69ebf36bb1 add comment for possible future improvement 2019-08-21 06:49:12 +02:00
Bilal Catic
27cbe1f51c fix non-returning promise warning 2019-08-21 06:45:43 +02:00
Bilal Catic
ed9a3bf949 include overuse / unscheduled use in discount 2019-08-15 10:00:09 +02:00
Bilal Catic
930915cb95 reuse incidents data to calculate discount 2019-08-14 21:58:57 +02:00
Bilal Catic
8a80321fe3 skip adding null fees if there is no discount 2019-08-14 12:27:02 +02:00
Bilal Catic
dd4d909b5d add plan name filter for discount 2019-08-14 12:18:35 +02:00
Bilal Catic
418cfc6549 fix bug with date of discount 2019-08-14 08:35:04 +02:00
Bilal Catic
876297b698 add negative fee for discount 2019-08-13 15:36:14 +02:00
Bilal Catic
832c0f8eeb refactor function for getting all bookings to allow more filters 2019-08-09 16:31:59 +02:00
Bilal Catic
ecbacfd92d Add year selection for report; fetch report for selected year 2019-08-09 00:05:17 +02:00
Bilal Catic
2ff584c20b make booking change charge under time flexible with env variable 2019-08-08 14:18:59 +02:00
Bilal Catic
7fbb1d9dee change cancellation fee from double booking fee to booking fee 2019-08-08 13:18:37 +02:00
Bilal Catic
0057b8ac01 remove charge type tag, except cancellation tag 2019-08-08 11:52:19 +02:00
Bilal Catic
3f16ec5949 generate practice summary report; send report to frontend 2019-08-08 01:55:00 +02:00
Bilal Catic
72d06f53f5 add structure for fetching member practice summary from backend 2019-08-05 12:06:18 +02:00
Bilal Catic
582b249243 remove obsolete code 2019-07-31 14:21:51 +02:00
Bilal Catic
398a35f0c8 fix price and quantity in fee post request 2019-07-31 14:17:30 +02:00
Bilal Catic
0c6d481a69 fix fees formatting 2019-07-31 13:55:02 +02:00
Bilal Catic
b07c375d83 remove label and cost explanation from booking fees 2019-07-30 23:04:29 +02:00
Bilal Catic
3ccb80ad75 detect cancellation of newly created booking 2019-07-30 22:28:06 +02:00
Bilal Catic
8053093c0a prevent locking upload response; show processing status on upload screen 2019-07-25 14:40:33 +02:00
Bilal Catic
54ae3e4ef5 make dlock screen waiting for incident calculation to finish 2019-07-25 06:28:26 +02:00
Bilal Catic
a5221da2f1 fix incidents date 2019-07-25 02:36:38 +02:00
Bilal Catic
71e034b6c2 invoice integration 2019-07-25 02:01:09 +02:00
Bilal Catic
4fefa3a08d fix too long unscheduled use intervals 2019-07-22 06:57:19 +02:00
Bilal Catic
00988b0dac do not charge cancellation under 30 minutes of creation 2019-07-19 12:47:16 +02:00
Bilal Catic
ef40483c22 fix undefined hourlyRate bug 2019-07-19 12:16:20 +02:00
Bilal Catic
a27d71e578 display cancellation charges correctly 2019-07-16 10:16:43 +02:00
Bilal Catic
15faeac06f track and charge cancellation charges 2019-07-16 02:51:07 +02:00
Bilal Catic
e150ebc7e8 implement booking reservation change log 2019-07-15 01:24:18 +02:00
Bilal Catic
98899d6826 remove console log 2019-07-12 04:41:34 +02:00
Bilal Catic
ad9bdfa606 track room change for booking change incidents 2019-07-09 15:05:36 +02:00
Bilal Catic
f6e8e6667b display booking charge incidents; refactor frontend 2019-07-08 20:23:50 +02:00
Bilal Catic
c0d7418f3f include booking change incidents in report; refactor 2019-07-08 18:50:10 +02:00
Bilal Catic
6bed9aecc0 create incidents for booking changes 2019-07-08 18:23:32 +02:00
Bilal Catic
7aab1e538e fetch reservations, find and update changed reservations 2019-07-07 03:53:31 +02:00
Bilal Catic
bd513b7599 make difference between pre-reservation and post-reservation unscheduled use 2019-07-07 02:43:07 +02:00
Bilal Catic
5d3653cd65 make difference between door lock charges related to reservations and standalone incidents 2019-07-07 00:28:39 +02:00
Bilal Catic
23b0924b5a include unscheduled use between reservations 2019-07-03 14:34:34 +02:00
Bilal Catic
2b492025fb fix door lock charges 2019-07-03 11:50:23 +02:00