Commit Graph

131 Commits

Author SHA1 Message Date
Bilal Catic
8f740eb8c5 generate member practice summary report without booking change checks 2020-03-09 17:18:38 +01:00
Bilal Catic
06601f272c do not add reservations to the db for tentative and free bookings 2020-01-15 19:29:57 +01:00
Bilal Catic
aa771bc7bd do not create booking reservation for non existing reservation in ORD with exceptions 2020-01-15 18:48:55 +01:00
Bilal Catic
45258334c1 do not create booking reservation for non existing reservation in ORD 2020-01-15 04:27:16 +01:00
Bilal Catic
55086fb54b handle unknown members, offices and rooms 2020-01-13 12:42:20 +01:00
Bilal Catic
62dc399a1a stop inserting and changing deleted unlock incidents 2020-01-09 23:23:28 +01:00
Bilal Catic
aafd046063 show rounded decimals for default values; handle zero as normal input 2020-01-09 02:26:35 +01:00
Bilal Catic
1a21e91796 implement backend methods to update incident fees 2020-01-09 01:33:19 +01:00
Bilal Catic
b2450faa0c add special check for unscheduled use in brake between reservations 2019-12-26 02:31:40 +01:00
Bilal Catic
87d7193bb9 add method for finding last reservation in a block 2019-12-26 02:30:03 +01:00
Bilal Catic
c1f3f42368 match unlock entry before first reservation in a block 2019-12-25 16:41:05 +01:00
Bilal Catic
40aef5ed30 reformat booking change incident fee description 2019-12-16 10:29:52 +01:00
Bilal Catic
ba5dc504b2 remove first N minutes from unscheduled use (N is time resolution) 2019-12-15 18:15:23 +01:00
Bilal Catic
501b8cf629 fix how unlocked and unscheduled incidents are applied 2019-12-13 18:36:39 +01:00
Bilal Catic
b71d869f49 fix wrong exit entry detection 2019-12-12 09:19:33 +01:00
Bilal Catic
3d7db8b156 fix wrong entrance entry detection after reservation start 2019-12-11 20:47:07 +01:00
Bilal Catic
f0b4a069e8 do not delete fees with selected product 2019-12-09 10:37:58 +01:00
Bilal Catic
052f2ac482 change date of shortening fees to the date of booking 2019-12-09 07:39:46 +01:00
Bilal Catic
b13980a16d change date of shortening fees to the date of booking 2019-12-09 06:55:14 +01:00
Bilal Catic
2dc787d2ed reformat "moved to another day" fee text, show old booking time 2019-12-09 06:51:03 +01:00
Bilal Catic
9d142901df do not re-create deleted incidents 2019-12-06 06:04:45 +01:00
Bilal Catic
d4f205af1f Fix wrong unlocked incident level on the last day of month 2019-12-06 05:44:18 +01:00
Bilal Catic
fa1fa35986 add custom check for incident between two, not back-to-back bookings 2019-12-06 05:39:01 +01:00
Bilal Catic
8944f5181c fix how unlocked incident fees are applied 2019-12-06 03:16:24 +01:00
Bilal Catic
f9694570a5 add debugging logs 2019-12-05 09:27:39 +01:00
Bilal Catic
166e2a0a9f look for all door lock events before if from timestamp is not defined 2019-12-05 09:25:18 +01:00
Bilal Catic
6df1a798ee transform repeated booking to series of regular bookings 2019-12-04 12:42:32 +01:00
Bilal Catic
4367ca4259 bookings are now added from fees array - for repeated bookings 2019-12-03 18:23:20 +01:00
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
b1aad87601 add silent option to Delete fees request 2019-11-26 13:17:28 +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
0d9c6ce67e compare only part of the name 2019-10-07 15:41:46 +02: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
7f65a6784f Add logging in addFees steps 2019-10-04 16:55:43 +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
dc0a335eb9 fix hourly rate value 2019-09-11 12:25:46 +02:00
Bilal Catic
cd77159ea2 fix charging reservation changes 2019-09-11 12:25:25 +02:00