import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { DatatableCustomindexComponent } from './components/customtable/customindex/customindex.component';
import { DatatableOwnerComponent } from './components/customtable/owner/owner.component';
import { DatatableDriverComponent } from './components/customtable/driver/driver.component';
import { DatatableOperationtableComponent } from './components/operationtable/operationtable.component';
import { DatatableOrderReportingComponent } from './reporting/components/order-reporting/order-reporting.component';
import { DatatableDataindexComponent } from './components/dataindex/dataindex.component';
import { DatatableComplianceIndexComponent } from './components/compliance/index/index.component';
import { DatatableFinancetableComponent } from './components/financetable/financetable.component';
import { DatatableInvoicetableComponent } from './components/invoicetable/invoicetable.component';
import { DatatableComplianceSalesmanComponent } from './components/compliance/salesman/salesman.component';
import { DatatableComplianceCustomerComponent } from './components/compliance/customer/customer.component';
import { DatatableFundReportingComponent } from './reporting/components/fund-reporting/fund-reporting.component';
import { DatatableMancustomtableComponent } from './components/customtable/mancustomtable/mancustomtable.component';
import { DatatablePartnertableComponent } from './components/customtable/partnertable/partnertable.component';
import { DatatableBusiindexComponent } from './components/busitable/busiindex/busiindex.component';
import { DatatableMantableComponent } from './components/busitable/mantable/mantable.component';
import { DatatableReportingFundInfoComponent } from './reporting/components/fund-info/fund-info.component';
import { DatatableDatascreenComponent } from './components/datascreen/datascreen.component';

const routes: Routes = [
  { path: 'dataindex', component: DatatableDataindexComponent },
  { path: 'customtable/customindex', component: DatatableCustomindexComponent },
  { path: 'customtable/owner', component: DatatableOwnerComponent },
  { path: 'customtable/driver', component: DatatableDriverComponent },
  { path: 'customtable/mancustomtable', component: DatatableMancustomtableComponent },
  { path: 'customtable/partnertable', component: DatatablePartnertableComponent },
  { path: 'operationtable', component: DatatableOperationtableComponent },
  { path: 'reporting/order', component: DatatableOrderReportingComponent },
  { path: 'compliancetabel/index', component: DatatableComplianceIndexComponent },
  { path: 'compliancetabel/salesman', component: DatatableComplianceSalesmanComponent },
  { path: 'compliancetabel/customer', component: DatatableComplianceCustomerComponent },
  { path: 'financetable', component: DatatableFinancetableComponent },
  { path: 'invoicetable', component: DatatableInvoicetableComponent },
  { path: 'reporting/fund', component: DatatableFundReportingComponent },
  { path: 'busitable/busiindex', component: DatatableBusiindexComponent },
  { path: 'busitable/mantable', component: DatatableMantableComponent },
  { path: 'reporting/fund', component: DatatableFundReportingComponent },
  { path: 'fund-info', component: DatatableReportingFundInfoComponent },
  { path: 'datascreen', component: DatatableDatascreenComponent }];


@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DatatableRoutingModule { }
