import { Routes } from '@angular/router';
import { Dashboard } from './dashboard/dashboard';
import { ConsultationListComponent } from './dashboard/pages/consultation-list/consultation-list.component';
import { AssignmentListComponent } from './dashboard/pages/assignment-list/assignment-list.component';
import { ExceptionListComponent } from './dashboard/pages/exception-list/exception-list.component';
import { AfterSalesComponent } from './dashboard/pages/after-sales/after-sales.component';

export const CUSTOMER_SERVICE_ROUTES: Routes = [
  {
    path: '',
    component: Dashboard,
    children: [
      {
        path: 'consultation-list',
        component: ConsultationListComponent
      },
      {
        path: 'assignment-list',
        component: AssignmentListComponent
      },
      {
        path: 'exception-list',
        component: ExceptionListComponent
      }
    ]
  },
  {
    path: 'after-sales',
    component: AfterSalesComponent
  }
];