70 lines
2.4 KiB
JavaScript
70 lines
2.4 KiB
JavaScript
import UploadDLockData from '../scenes/UploadDLockData';
|
|
import Home from '../scenes/Home';
|
|
import IncidentsReport from '../scenes/IncidentsReport';
|
|
import SpecificMemberIncidentsReport from '../scenes/SpecificMemberIncidentsReport';
|
|
import MemberPracticeSummaryReport from '../scenes/MemberPracticeSummaryReport';
|
|
import RoomOfficeNameMapping from '../scenes/RoomOfficeNameMapping';
|
|
|
|
export const mainMenuItems = [
|
|
{
|
|
id: 'home',
|
|
showInMenu: true,
|
|
showOnHomePage: false,
|
|
title: 'Home',
|
|
url: '/',
|
|
component: Home,
|
|
},
|
|
{
|
|
id: 'memberPracticeSummaryReport',
|
|
showInMenu: true,
|
|
showOnHomePage: true,
|
|
title: 'Member Practice Summary Report',
|
|
url: '/member-practice-summary-report',
|
|
component: MemberPracticeSummaryReport,
|
|
description: 'Generate a report for a year, for all members',
|
|
},
|
|
{
|
|
id: 'specificMemberIncidentsReport',
|
|
showInMenu: true,
|
|
showOnHomePage: true,
|
|
title: 'Member Incidents Report',
|
|
url: '/specific-member-incidents-report',
|
|
component: SpecificMemberIncidentsReport,
|
|
description: 'Displays all incidents with a total charge amount in a selected month for a selected member. It is also possible to send displayed fees to the ORD',
|
|
},
|
|
{
|
|
id: 'specificMemberIncidentsReportWithMemberId',
|
|
showInMenu: false,
|
|
showOnHomePage: false,
|
|
url: '/specific-member-incidents-report/:memberId',
|
|
component: SpecificMemberIncidentsReport,
|
|
},
|
|
{
|
|
id: 'report',
|
|
showInMenu: true,
|
|
showOnHomePage: true,
|
|
title: 'Incidents Report',
|
|
url: '/incidents-report',
|
|
component: IncidentsReport,
|
|
description: 'Display all incidents in a selected month for all members. It is also possible to send displayed fees to the ORD',
|
|
},
|
|
{
|
|
id: 'uploadDLockData',
|
|
showInMenu: true,
|
|
showOnHomePage: true,
|
|
title: 'DLock',
|
|
url: '/dlock',
|
|
component: UploadDLockData,
|
|
description: 'Upload DLock files to the system',
|
|
},
|
|
{
|
|
id: 'roomOfficeNameMapping',
|
|
showInMenu: true,
|
|
showOnHomePage: true,
|
|
title: 'Room Office Mapping',
|
|
url: '/room-office-name-mapping',
|
|
component: RoomOfficeNameMapping,
|
|
description: 'Edit / delete existing office-room mappings',
|
|
}
|
|
];
|