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 1257477..42521f3 100644 --- a/src/app/app.routing.ts +++ b/src/app/app.routing.ts @@ -49,13 +49,17 @@ 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' + }, { path: 'receivefees', loadChildren: './views/fees-details/fees-details.module#FeesDetailsModule', 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 e189944..0e74865 100644 --- a/src/app/components/app-sidebar/app-sidebar.component.ts +++ b/src/app/components/app-sidebar/app-sidebar.component.ts @@ -66,7 +66,7 @@ export class AppSidebar { icon: 'fa fa-book' }, { - name: 'Share Allocate', + name: 'Allocate Fees', url: '/masters/shareallotmentmaster', icon: 'fa fa-adjust' }, @@ -96,31 +96,21 @@ export class AppSidebar { url: '/masters/DocumentMaster', icon: 'fa fa-file' }, - { name: 'Exam Timetable', url: '/masters/ExamTimetable', icon: 'fa fa-calendar-minus-o' } ] + },{ + 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' @@ -129,22 +119,12 @@ export class AppSidebar { url: '/status/documents', icon: 'fa fa-file-pdf-o' }, - { + { name: 'PaymentDetails', url: '/status/paymentdetails', icon: 'fa fa-credit-card-alt' } ] - },{ - name: 'Entrollment', - icon: 'fa fa-graduation-cap', - children: [ - { - name: 'Student Entrollment', - url: '/entrollment/student', - icon: 'fa fa-user' - } - ] },{ name: 'Study Material', icon: 'fa fa-book', @@ -157,9 +137,13 @@ export class AppSidebar { { name: 'AllocateMaterial', url: '/studymaterial/allocatematerial', - icon: 'fa fa-file' + icon: 'fa fa-user-secret' } ] + },{ + name: 'Courier', + icon: 'fa fa-suitcase', + url : '/courier', }, { name: 'Fees Receive/Refund ', 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..4aa3730 --- /dev/null +++ b/src/app/views/courier/courier/courier.component.html @@ -0,0 +1,230 @@ + + +| Courier Name | +Docket No. | +Date | +Type | +Comments | +Send To / Received From | +Received By/ Dispatched By | +Status | +Action | +
|---|---|---|---|---|---|---|---|---|
| {{cour.courierName}} | +{{cour.docketNo}} | +{{cour.date}} | +{{cour.type}} | +{{cour.comments}} | +{{cour.sendTo}} | +{{cour.receiveBy}} | +{{cour.status}} | ++ + + | +