import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { LayoutComponentComponent } from '../admin/layout-component/layout-component.component';
import { BidFinalReportComponent } from './bid-final-report/bid-final-report.component';  
import { ReportQuotingComponent } from './report-quoting/report-quoting.component';
import { ReportComponent } from './report.component';
import { RequotedReportComponent } from './requoted-report/requoted-report.component';

const routes: Routes = [
  {
    path: '', component: LayoutComponentComponent, children: [
      { path: '', redirectTo: '/dashboard', pathMatch: 'full' }, 
      { path: 'bid-final-report/:id', component:BidFinalReportComponent},
      { path: 'report-quoting/:id', component:ReportQuotingComponent}, 
      { path: 'requoted-report/:id', component:RequotedReportComponent}
    ]
  },
];

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