Commit Graph

50 Commits

Author SHA1 Message Date
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
Bilal Catic
fc4d374e23 fix door lock charges - unlocked incident 2019-07-02 10:12:56 +02:00
Bilal Catic
26d58b87f2 fix invalid door lock charges 2019-07-01 03:35:02 +02:00
Bilal Catic
7f0042633c refactor; save date and time in UTC correctly 2019-06-25 12:10:54 +02:00
Bilal Catic
0ccd2ff55c handle fetching members list and members incidents list 2019-06-18 23:59:00 +02:00
Bilal Catic
16a62b35de fix fetching incidents for specific date in backend 2019-06-18 10:32:17 +02:00
Bilal Catic
5ffc6620f8 add default values for missing env variables 2019-06-17 13:16:18 +02:00
Bilal Catic
f9bd84c9c5 improve report data sent from backend 2019-06-17 12:44:57 +02:00
Bilal Catic
2c8d6bd077 add controller and service to fetch all incidents 2019-06-16 11:53:20 +02:00
Bilal Catic
596336c41b detect and save unscheduled and unlocked incidents 2019-06-14 08:05:24 +02:00