import { Routes } from "@angular/router";

export const reports: Routes = [
    {
      path: '', loadComponent: ()=>import('./reports/reports.component').then(e=>e.ReportsComponent), data: {
        permission: 'Reports Access'
      }
    },
    {
      path: 'ticketreports', loadComponent: ()=>import('./ticketreports-table/ticketreports-table.component').then(e=>e.TicketreportsTableComponent), data: {
        permission: 'Reports Access'
      }
    },
    {
      path: 'employee-activity', loadComponent: ()=>import('./employee-activity/employee-activity.component').then(e=>e.EmployeeActivityComponent), data: {
        permission: 'Reports Access'
      }
    },
    {
      path: 'employeedetails/:id', loadComponent: ()=>import('./employee-report-details/employee-report-details.component').then(e=>e.EmployeeReportDetailsComponent), data: {
        permission: 'Reports Access'
      }
}];

