Changed formating for Reservation and additional charge / fixed bugs
This commit is contained in:
@@ -88,7 +88,7 @@ const incidentTypeExplanations = {};
|
||||
incidentTypeExplanations[incidentType.UNLOCKED_INCIDENT_RELATED_WITH_RESERVATION] = 'Door left unlocked';
|
||||
incidentTypeExplanations[incidentType.UNLOCKED_INCIDENT_STANDALONE] = 'Door left unlocked';
|
||||
incidentTypeExplanations[incidentType.UNSCHEDULED_INCIDENT_BEFORE_RESERVATION] = 'Room used before reservation started';
|
||||
incidentTypeExplanations[incidentType.UNSCHEDULED_INCIDENT_AFTER_RESERVATION] = 'Room used after reservation started';
|
||||
incidentTypeExplanations[incidentType.UNSCHEDULED_INCIDENT_AFTER_RESERVATION] = 'Room used after reservation ended';
|
||||
incidentTypeExplanations[incidentType.UNSCHEDULED_INCIDENT_STANDALONE] = 'Room used without reservation';
|
||||
incidentTypeExplanations[incidentType.BOOKING_MOVED_TO_ANOTHER_DAY] = 'Reservation moved to another day';
|
||||
incidentTypeExplanations[incidentType.BOOKING_SHORTENED] = 'Reservation shortened';
|
||||
@@ -104,7 +104,8 @@ const UNSCHEDULED_CHARGE_PRICE = parseFloat(process.env.UNSCHEDULED_USE_CHARGE_P
|
||||
|
||||
const BOOKING_CHANGE_PERCENTAGE_CHARGE = parseInt(process.env.BOOKING_CHANGE_PERCENTAGE_CHARGE) || 100;
|
||||
|
||||
const ALLOWED_BOOKING_CANCELLATION_TIME= parseInt(process.env.ALLOWED_BOOKING_CANCELLATION_TIME) || 30;
|
||||
const CHARGE_BOOKING_CHANGE_UNDER_TIME = parseInt(process.env.CHARGE_BOOKING_CHANGE_UNDER_TIME) || 1430;
|
||||
const ALLOWED_BOOKING_CANCELLATION_TIME = parseInt(process.env.ALLOWED_BOOKING_CANCELLATION_TIME) || 30;
|
||||
|
||||
module.exports = {
|
||||
VALID_CSV_HEADERS,
|
||||
@@ -124,5 +125,6 @@ module.exports = {
|
||||
UNSCHEDULED_TIME_RESOLUTION,
|
||||
UNSCHEDULED_CHARGE_PRICE,
|
||||
BOOKING_CHANGE_PERCENTAGE_CHARGE,
|
||||
CHARGE_BOOKING_CHANGE_UNDER_TIME,
|
||||
ALLOWED_BOOKING_CANCELLATION_TIME,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user