Commit Graph

79 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
c7288e169c create custom API instance for OAUTH token request 2019-08-31 00:36:36 +02:00
Bilal Catic
d24913689d obtain valid token on every API request 2019-08-31 00:06:01 +02:00
Bilal Catic
333733099b add cron service to obtain oauth token and store it to the DB 2019-08-30 23:19:04 +02:00
Bilal Catic
831cb43a92 change reservation fee description 2019-08-30 10:58:14 +02:00
Bilal Catic
9878b5e6b4 implement mapping update 2019-08-28 12:44:47 +02:00
Bilal Catic
94f0bcc748 add delete mapping route, controller and implementation 2019-08-28 09:30:19 +02:00
Bilal Catic
bdf6030d43 skip manually added fees when deleting fees from ORD 2019-08-27 09:42:39 +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
f8fac23980 implement bulk delete fees 2019-08-26 13:40:17 +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
1bb87cb476 fix unhandled promise warning when new booking is detected 2019-08-22 02:28:11 +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
fa89256b0c do not remove invoiced fees 2019-08-16 15:39:52 +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
dae71475ec fix undefined hourly rate bug 2019-07-22 06:03:22 +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