import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuard } from '../auth.guard';
import { CollectionprocessComponent } from './collectionprocess/collectionprocess.component';
import { VendorAllocationComponent } from './vendorallocation/vendorallocation.component';

const routes: Routes = [
  { path: '', component: CollectionprocessComponent , canActivate: [AuthGuard]},
  { path: 'collectionprocess', component: CollectionprocessComponent, canActivate: [AuthGuard] },
  { path: 'vendorallocation', component: VendorAllocationComponent, canActivate: [AuthGuard] },
];

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