Commit Graph

27 Commits

Author SHA1 Message Date
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
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
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
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
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
54ae3e4ef5 make dlock screen waiting for incident calculation to finish 2019-07-25 06:28:26 +02:00
Bilal Catic
4fefa3a08d fix too long unscheduled use intervals 2019-07-22 06:57:19 +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
5ffc6620f8 add default values for missing env variables 2019-06-17 13:16:18 +02:00
Bilal Catic
596336c41b detect and save unscheduled and unlocked incidents 2019-06-14 08:05:24 +02:00