make difference between pre-reservation and post-reservation unscheduled use

This commit is contained in:
Bilal Catic
2019-07-07 02:43:07 +02:00
parent 5d3653cd65
commit bd513b7599
3 changed files with 76 additions and 23 deletions

View File

@@ -62,9 +62,10 @@ const integrationServiceErrors = {
const incidentType = {
NOT_AN_INCIDENT: 1,
UNLOCKED_INCIDENT_RELATED_WITH_RESERVATION: 2,
UNSCHEDULED_INCIDENT_RELATED_WITH_RESERVATION: 3,
UNLOCKED_INCIDENT_STANDALONE: 4,
UNSCHEDULED_INCIDENT_STANDALONE: 5,
UNSCHEDULED_INCIDENT_BEFORE_RESERVATION: 3,
UNSCHEDULED_INCIDENT_AFTER_RESERVATION: 4,
UNLOCKED_INCIDENT_STANDALONE: 5,
UNSCHEDULED_INCIDENT_STANDALONE: 6,
};
const UI_TIMEZONE = process.env.UI_TIMEZONE || 'America/Los_Angeles';