display booking charge incidents; refactor frontend
This commit is contained in:
@@ -1 +1,48 @@
|
||||
export const defaultDateFormat = 'YYYY-MM-DD';
|
||||
|
||||
export const doorLockRelatedWithReservationIncidentHeaders = [
|
||||
'officeName',
|
||||
'resourceName',
|
||||
'memberName',
|
||||
'reservation',
|
||||
'incidentType',
|
||||
'feeDescription',
|
||||
'totalChargeFee'
|
||||
];
|
||||
export const standaloneDoorLockIncidentHeaders = [
|
||||
'officeName',
|
||||
'resourceName',
|
||||
'memberName',
|
||||
'doorLockTimestamps',
|
||||
'incidentType',
|
||||
'feeDescription',
|
||||
'totalChargeFee'
|
||||
];
|
||||
export const bookingChangeIncidentHeaders = [
|
||||
'officeName',
|
||||
'resourceName',
|
||||
'memberName',
|
||||
'incidentTimestamp',
|
||||
'oldReservation',
|
||||
'newReservation',
|
||||
'incidentType',
|
||||
'totalChargeFee',
|
||||
];
|
||||
|
||||
export const incidentsReportHeaderTitles = {
|
||||
officeName: 'Office',
|
||||
resourceName: 'Room',
|
||||
bookingStart: 'Reservation Start',
|
||||
bookingEnd: 'Reservation End',
|
||||
reservation: 'Reservation start/end',
|
||||
doorLockTimestamps: 'Door unlock/lock',
|
||||
unlockTimestamp: 'Unlock Time',
|
||||
lockTimestamp: 'Lock Time',
|
||||
oldReservation: 'Old Reservation',
|
||||
newReservation: 'New Reservation',
|
||||
incidentTimestamp: 'Incident Time',
|
||||
memberName: 'Member Name',
|
||||
incidentType: 'Incident Type',
|
||||
feeDescription: 'Fee description',
|
||||
totalChargeFee: 'Total Fee',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user