routing changes done

This commit is contained in:
gandhimathi 2018-07-31 13:15:30 +05:30
parent 6bc556a91c
commit bfc5524681
4 changed files with 83 additions and 10 deletions

View File

@ -70,6 +70,10 @@ export const routes: Routes = [
loadChildren: './views/pages/pages.module#PagesModule', loadChildren: './views/pages/pages.module#PagesModule',
} }
] ]
},
{
path: 'receivefees',
loadChildren: './views/fees-details/fees-details.module#FeesDetailsModule',
} }
]; ];

View File

@ -51,32 +51,52 @@ export class AppSidebar {
url: '/masters/studyCenter', url: '/masters/studyCenter',
icon: 'fa fa-language' icon: 'fa fa-language'
},{ },{
name: 'Form List Master', name: 'Form List',
url: '/masters/formList', url: '/masters/formList',
icon: 'fa fa-language' icon: 'fa fa-language'
}, },
{ {
name: 'University Master', name: 'University',
url: '/masters/UniversityMaster', url: '/masters/UniversityMaster',
icon: 'fa fa-language' icon: 'fa fa-language'
}, },
{ {
name: 'Batch Master', name: 'Course',
url: '/masters/coursemaster',
icon: 'fa fa-book'
},
{
name: 'Share Allocate',
url: '/masters/shareallotmentmaster',
icon: 'fa fa-adjust'
},
{
name: 'Batch',
url: '/masters/BatchMaster', url: '/masters/BatchMaster',
icon: 'fa fa-language' icon: 'fa fa-language'
},
{
name: 'Session',
url: '/masters/sessionmaster',
icon: 'fa fa-support'
},
{
name: 'Status',
url: '/masters/statusmaster',
icon: 'fa fa-bullseye'
}, },
{ {
name: 'Document Master', name: 'Document',
url: '/masters/DocumentMaster', url: '/masters/DocumentMaster',
icon: 'fa fa-language' icon: 'fa fa-language'
}, },
{ {
name: 'Fees Master', name: 'Fees',
url: '/masters/FeesMaster', url: '/masters/FeesMaster',
icon: 'fa fa-language' icon: 'fa fa-language'
}, },
{ {
name: 'Form Master', name: 'Form',
url: '/masters/FormMaster', url: '/masters/FormMaster',
icon: 'fa fa-language' icon: 'fa fa-language'
}, },
@ -144,6 +164,11 @@ export class AppSidebar {
icon: 'fa fa-user-secret' icon: 'fa fa-user-secret'
} }
] ]
},
{
name: 'Fees Receive/Refund ',
icon: 'fa fa-money',
url: '/receivefees',
} }
]; ];
} }

View File

@ -12,6 +12,10 @@ import { FeesMasterComponent } from './fees-master/fees-master.component';
import { FormMasterComponent } from './form-master/form-master.component'; import { FormMasterComponent } from './form-master/form-master.component';
import { ExamtimeTableComponent } from './examtime-table/examtime-table.component'; import { ExamtimeTableComponent } from './examtime-table/examtime-table.component';
import { StudyMaterialComponent } from './study-material/study-material.component'; import { StudyMaterialComponent } from './study-material/study-material.component';
import { CourseMasterComponent } from './course-master/course-master.component';
import { FeesShareAllotmentMasterComponent } from './fees-share-allotment-master/fees-share-allotment-master.component';
import { SessionMasterComponent } from './session-master/session-master.component';
import { StatusMasterComponent } from './status-master/status-master.component';
const routes: Routes = [ const routes: Routes = [
{ {
path: '', path: '',
@ -89,7 +93,35 @@ const routes: Routes = [
data: { data: {
title: 'Exam Timetable' title: 'Exam Timetable'
} }
} },
{
path: "coursemaster",
component: CourseMasterComponent,
data: {
title: "Course"
}
},
{
path: "shareallotmentmaster",
component: FeesShareAllotmentMasterComponent,
data: {
title: "Share Allocate"
}
},
{
path: "sessionmaster",
component: SessionMasterComponent,
data: {
title: "Session"
}
},
{
path: "statusmaster",
component: StatusMasterComponent,
data: {
title: "Status"
}
}
] ]
} }
]; ];

View File

@ -35,6 +35,13 @@ import { ExamtimeTableComponent } from './examtime-table/examtime-table.componen
// Form list // Form list
import { FormListComponent } from './form-list/form-list.component'; import { FormListComponent } from './form-list/form-list.component';
// import course ,status ,session fees share allotment
import { CourseMasterComponent } from './course-master/course-master.component';
import { AddSemyearFeesComponent } from './course-master/add-semyear-fees/add-semyear-fees.component';
import { FeesShareAllotmentMasterComponent } from './fees-share-allotment-master/fees-share-allotment-master.component';
import { SessionMasterComponent } from './session-master/session-master.component';
import { StatusMasterComponent } from './status-master/status-master.component';
@NgModule({ @NgModule({
imports: [ imports: [
CommonModule, CommonModule,
@ -58,7 +65,12 @@ import { FormListComponent } from './form-list/form-list.component';
FeesMasterComponent, FeesMasterComponent,
FormMasterComponent, FormMasterComponent,
StudyMaterialComponent, StudyMaterialComponent,
ExamtimeTableComponent ExamtimeTableComponent,
CourseMasterComponent,
AddSemyearFeesComponent,
FeesShareAllotmentMasterComponent,
SessionMasterComponent,
StatusMasterComponent
] ]
}) })
export class MastersModule { } export class MastersModule { }