import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { FeesDetailsComponent } from './fees-details/fees-details.component';
import { AccountStatementComponent } from './account-statement/account-statement.component';

const routes: Routes = [
  {
    path: '',
    data: {
      title: 'Payment Details'
    },
    children: [
      {
        path: 'receivefees',
        component: FeesDetailsComponent,
        data: {
          title: 'Fees Receive/Transfer'
        }
      },
      {
        path: 'accountstatement',
        component: AccountStatementComponent,
        data: {
          title: 'Account Statement'
        }
      },
    ]
  }
  
];

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