import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { CancellationInvoiceComponent } from './components/cancellation-invoice/cancellation-invoice.component';
import { ETCBlacklistComponent } from './components/etc-blacklist/etc-blacklist.component';
import { ETCInvoicedListComponent } from './components/etc-invoiced-list/etc-invoiced-list.component';
import { ETCInvoicedLogsComponent } from './components/etc-invoiced-logs/etc-invoiced-logs.component';
import { ETCInvoicedRequestedComponent } from './components/etc-invoiced-requested/etc-invoiced-requested.component';
import { ExpressInfoComponent } from './components/express-info/express-info.component';
import { EditCollectionInvoiceComponent } from './components/input-invoice/edit-collection-invoice/edit-collection-invoice.component';
import { InputInvoiceDetailComponent } from './components/input-invoice/input-invoice-detail/input-invoice-detail.component';
import { InputInvoiceComponent } from './components/input-invoice/input-invoice.component';
import { InvoiceDetailComponent } from './components/invoice-detail/invoice-detail.component';
import { InvoiceRequestedDetailComponent } from './components/invoice-requested/invoice-requested-detail/invoice-requested-detail.component';
import { InvoiceRequestedComponent } from './components/invoice-requested/invoice-requested.component';
import { InvoicedListComponent } from './components/invoiced-list/invoiced-list.component';

const routes: Routes = [
  { path: 'invoice-requested', component: InvoiceRequestedComponent },
  { path: 'invoice-requested/detail/:id', component: InvoiceRequestedDetailComponent },
  { path: 'invoice-list', component: InvoicedListComponent },
  { path: 'invoice-list/detail/:id', component: InvoiceDetailComponent },
  { path: 'cancellation-invoice', component: CancellationInvoiceComponent },
  { path: 'cancellation-invoice/detail/:id', component: InvoiceDetailComponent },
  { path: 'etc-invoice-requested', component: ETCInvoicedRequestedComponent },
  { path: 'etc-invoice-list', component: ETCInvoicedListComponent },
  { path: 'etc-invoiced-logs', component: ETCInvoicedLogsComponent },
  { path: 'etc-blacklist', component: ETCBlacklistComponent },
  { path: 'input-invoice', component: InputInvoiceComponent },
  { path: 'input-invoice/detail/:id', component: InputInvoiceDetailComponent },
  { path: 'input-invoice/edit/:id', component: EditCollectionInvoiceComponent },
  { path: 'express-info', component: ExpressInfoComponent }
];

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