make difference between door lock charges related to reservations and standalone incidents

This commit is contained in:
Bilal Catic
2019-07-07 00:28:39 +02:00
parent 72bb874d85
commit 5d3653cd65
8 changed files with 162 additions and 84 deletions

View File

@@ -61,8 +61,10 @@ const integrationServiceErrors = {
const incidentType = {
NOT_AN_INCIDENT: 1,
UNLOCKED_INCIDENT: 2,
UNSCHEDULED_INCIDENT: 3,
UNLOCKED_INCIDENT_RELATED_WITH_RESERVATION: 2,
UNSCHEDULED_INCIDENT_RELATED_WITH_RESERVATION: 3,
UNLOCKED_INCIDENT_STANDALONE: 4,
UNSCHEDULED_INCIDENT_STANDALONE: 5,
};
const UI_TIMEZONE = process.env.UI_TIMEZONE || 'America/Los_Angeles';