diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f4cd3d9..ce2a5af 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -7,8 +7,9 @@ import { HttpClientModule } from '@angular/common/http'; import { LocationStrategy, HashLocationStrategy } from '@angular/common'; import { StatusModule } from './views/status/status.module'; -import { EntrollmentModule } from './views/entrollment/entrollment.module'; +import { EnrolmentModule } from './views/enrolment/enrolment.module'; import { StudymaterialModule } from './views/studymaterial/studymaterial.module'; +import { CourierModule } from './views/courier/courier.module'; import { AppComponent } from './app.component'; @@ -75,8 +76,9 @@ import { ChartsModule } from 'ng2-charts/ng2-charts'; TooltipModule.forRoot(), ChartsModule, StatusModule, - EntrollmentModule, - StudymaterialModule + EnrolmentModule, + StudymaterialModule, + CourierModule ], declarations: [ AppComponent, diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts index fc5e2b1..ace28d4 100644 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -49,12 +49,16 @@ export const routes: Routes = [ loadChildren: './views/status/status.module#StatusModule' }, { - path: 'entrollment', - loadChildren: './views/entrollment/entrollment.module#EntrollmentModule' + path: 'enrolment', + loadChildren: './views/enrolment/enrolment.module#EnrolmentModule' }, { path: 'studymaterial', loadChildren: './views/studymaterial/studymaterial.module#StudymaterialModule' + }, + { + path: 'courier', + loadChildren: './views/courier/courier.module#CourierModule' } ] }, diff --git a/src/app/components/app-sidebar/app-sidebar.component.html b/src/app/components/app-sidebar/app-sidebar.component.html index 2c1f853..5fa20f2 100644 --- a/src/app/components/app-sidebar/app-sidebar.component.html +++ b/src/app/components/app-sidebar/app-sidebar.component.html @@ -8,7 +8,7 @@ {{nav.name}}
diff --git a/src/app/components/app-sidebar/app-sidebar.component.ts b/src/app/components/app-sidebar/app-sidebar.component.ts index 2b65cf8..5c51bef 100644 --- a/src/app/components/app-sidebar/app-sidebar.component.ts +++ b/src/app/components/app-sidebar/app-sidebar.component.ts @@ -80,31 +80,21 @@ export class AppSidebar { url: '/masters/FormMaster', icon: 'fa fa-language' }, - { name: 'Exam Timetable', url: '/masters/ExamTimetable', icon: 'fa fa-language' } ] + },{ + name: 'Student Enrolment', + icon: 'fa fa-graduation-cap', + url : '/enrolment' },{ name: 'Status', icon: 'fa fa-tasks', children: [ { - name: 'Application', - url: '/status/application', - icon: 'fa fa-sticky-note' - }, - { - name: 'Courier', - url: '/status/courier', - icon: 'fa fa-suitcase' - },{ - name: 'Study Material', - url: '/status/studyMaterial', - icon: 'fa fa-square-o' - },{ name: 'Answer Booklet', url: '/status/answerBooklet', icon: 'fa fa-file-word-o' @@ -113,22 +103,12 @@ export class AppSidebar { url: '/status/documents', icon: 'fa fa-file-pdf-o' }, - { + { name: 'PaymentDetails', url: '/status/paymentdetails', icon: 'fa fa-user-secret' } ] - },{ - name: 'Entrollment', - icon: 'fa fa-graduation-cap', - children: [ - { - name: 'Student Entrollment', - url: '/entrollment/student', - icon: 'fa fa-user' - } - ] },{ name: 'Study Material', icon: 'fa fa-gear', @@ -142,8 +122,17 @@ export class AppSidebar { name: 'AllocateMaterial', url: '/studymaterial/allocatematerial', icon: 'fa fa-user-secret' + }, + { + name: 'Study Material Status', + url: '/studymaterial/studyMaterialStatus', + icon: 'fa fa-square-o' } ] + },{ + name: 'Courier', + icon: 'fa fa-suitcase', + url : '/courier' } ]; } diff --git a/src/app/views/courier/courier-routing.module.ts b/src/app/views/courier/courier-routing.module.ts new file mode 100644 index 0000000..62f0e66 --- /dev/null +++ b/src/app/views/courier/courier-routing.module.ts @@ -0,0 +1,19 @@ +import { NgModule } from '@angular/core'; +import { Routes, RouterModule } from '@angular/router'; +// Courier +import { CourierComponent } from './courier/courier.component'; +const routes: Routes = [ + { + path: '', + component: CourierComponent, + data: { + title: 'Courier' + } + } +]; + +@NgModule({ + imports: [RouterModule.forChild(routes)], + exports: [RouterModule] +}) +export class CourierRoutingModule {} diff --git a/src/app/views/courier/courier.module.ts b/src/app/views/courier/courier.module.ts new file mode 100644 index 0000000..b199f48 --- /dev/null +++ b/src/app/views/courier/courier.module.ts @@ -0,0 +1,27 @@ +import { NgModule } from '@angular/core'; +import {CommonModule} from '@angular/common'; +import { FormsModule } from '@angular/forms'; +// import { BrowserModule } from '@angular/platform-browser'; +// Tabs Component +import { TabsModule } from 'ngx-bootstrap/tabs'; +import { TooltipModule } from 'ngx-bootstrap/tooltip'; +import { ModalModule } from 'ngx-bootstrap/modal'; + +import { CourierRoutingModule } from './courier-routing.module'; + +// Courier +import { CourierComponent } from './courier/courier.component'; +@NgModule({ + imports: [ + CommonModule, + FormsModule, + TabsModule, + ModalModule.forRoot(), + TooltipModule, + CourierRoutingModule + ], + declarations: [ + CourierComponent + ] +}) +export class CourierModule { } diff --git a/src/app/views/courier/courier/courier.component.html b/src/app/views/courier/courier/courier.component.html new file mode 100644 index 0000000..4a460ac --- /dev/null +++ b/src/app/views/courier/courier/courier.component.html @@ -0,0 +1,203 @@ + + +| Courier Name | +Docket No. | +Type | +Comments | +Received By/ Dispatched By | +Status | +Action | +
|---|---|---|---|---|---|---|
| {{cour.courierName}} | +{{cour.docketNo}} | +{{cour.type}} | +{{cour.comments}} | +{{cour.receiveBy}} | +{{cour.status}} | ++ + + | +