Commit Graph

77 Commits

Author SHA1 Message Date
Bilal Catic
0ef109ffce insert debugging logs, comment for now 2019-12-03 18:21:38 +01:00
Bilal Catic
a14ca5aaa7 remove console logging 2019-12-03 18:20:34 +01:00
Bilal Catic
c30fb1adf6 synchronize incidents detection and save incidents to the DB 2019-12-02 20:57:46 +01:00
Bilal Catic
93d46c231e allow first time segment length for unscheduled use to be configurable 2019-11-22 20:22:44 +01:00
Bilal Catic
7c8a5e954e change fees formatting 2019-11-22 08:58:36 +01:00
Bilal Catic
fa4e574d6e remove obsolete logging 2019-11-21 14:34:50 +01:00
Bilal Catic
8a3db0d481 add deleteFees route and implement logic 2019-11-21 07:12:50 +01:00
Bilal Catic
3d051766b1 fetch only non-deleted unlocked/unscheduled incidents 2019-11-20 15:26:20 +01:00
Bilal Catic
136cad8bbd fix fee formatting issues 2019-11-20 12:27:42 +01:00
Bilal Catic
9ac1f57396 apply weekend rate to the reservation if applicable 2019-10-28 20:02:57 +01:00
Bilal Catic
8ac69f1497 delete reservations removed from ORD 2019-10-07 15:16:09 +02:00
Bilal Catic
639ba6b8cb fix practice summary report 2019-10-07 09:55:00 +02:00
Bilal Catic
aa8931f91a fix discount date 2019-10-04 19:51:39 +02:00
Bilal Catic
ef932ed36b add discount on first day of the month 2019-10-04 19:41:51 +02:00
Bilal Catic
fc662b73a6 Add logging in addFees steps 2019-10-04 16:54:12 +02:00
Bilal Catic
ca55bf83af load resource price if booking price is zero 2019-10-03 10:39:16 +02:00
Bilal Catic
0a4da1b18f fix dates in fees description 2019-09-11 12:26:08 +02:00
Bilal Catic
cd77159ea2 fix charging reservation changes 2019-09-11 12:25:25 +02:00
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