diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index fb6681f..0c26a44 100755
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -6,6 +6,8 @@ import { AppComponent } from './app.component';
import { StatusModule } from './views/status/status.module';
import { EnrolmentModule } from './views/enrolment/enrolment.module';
+import { CourierModule } from './views/courier/courier.module';
+import { StudyMaterialModule } from './views/study-material/study-material.module';
// Import containers
import {
@@ -65,7 +67,9 @@ import { ChartsModule } from 'ng2-charts/ng2-charts';
TooltipModule.forRoot(),
ChartsModule,
StatusModule,
- EnrolmentModule
+ EnrolmentModule,
+ CourierModule,
+ StudyMaterialModule
],
declarations: [
AppComponent,
diff --git a/src/app/app.routing.ts b/src/app/app.routing.ts
index ded1274..cb76aea 100755
--- a/src/app/app.routing.ts
+++ b/src/app/app.routing.ts
@@ -58,7 +58,15 @@ export const routes: Routes = [
},
{
path: 'paymentdetails',
- loadChildren: './views/payment-details/payment-details.module#PaymentDetailsModule', },
+ loadChildren: './views/payment-details/payment-details.module#PaymentDetailsModule',
+ },{
+ path: 'studyMaterial',
+ loadChildren: './views/study-material/study-material.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 3ec209f..5302374 100755
--- a/src/app/components/app-sidebar/app-sidebar.component.html
+++ b/src/app/components/app-sidebar/app-sidebar.component.html
@@ -88,6 +88,12 @@
Fees Calculator
+
+ Study Material
+
+
+ Courier
+
Status
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..d226e45
--- /dev/null
+++ b/src/app/views/courier/courier/courier.component.html
@@ -0,0 +1,134 @@
+
+
+
+
+
+ Courier Details List
+
+
+
+
+
+
+
+
+ | Courier Name |
+ Docket No. |
+ Date |
+ Type |
+ Comments |
+ Send To / Received From |
+ Received By/ Dispatched By |
+ Status |
+
+
+
+
+ | {{cour.courierName}} |
+ {{cour.docketNo}} |
+ {{cour.date}} |
+ {{cour.type}} |
+ {{cour.comments}} |
+ {{cour.sendTo}} |
+ {{cour.receiveBy}} |
+ {{cour.status}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{myModalData.docketNo}}
+
+
+
+
+ {{myModalData.type}}
+
+
+ {{myModalData.comments}}
+
+
+
+
+ {{myModalData.qt}}
+
+
+ {{myModalData.weight}}
+
+
+
+
+ {{myModalData.amt}}
+
+
+ {{myModalData.date}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/views/courier/courier/courier.component.scss b/src/app/views/courier/courier/courier.component.scss
new file mode 100644
index 0000000..12322a4
--- /dev/null
+++ b/src/app/views/courier/courier/courier.component.scss
@@ -0,0 +1,6 @@
+.line-height {
+ line-height: 0.5;
+}
+.line-height-table {
+ line-height: 0.1;
+}
\ No newline at end of file
diff --git a/src/app/views/courier/courier/courier.component.ts b/src/app/views/courier/courier/courier.component.ts
new file mode 100644
index 0000000..d27058b
--- /dev/null
+++ b/src/app/views/courier/courier/courier.component.ts
@@ -0,0 +1,66 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ templateUrl: 'courier.component.html',
+ styleUrls: ['./courier.component.scss']
+})
+
+export class CourierComponent implements OnInit {
+ show = false;
+ closed = false;
+ public myModal;
+ public myModalData;
+ courier: any;
+ constructor() { }
+ ngOnInit(){
+ this.courier = [
+ {
+ courierName: 'Documents',
+ docketNo: '234dsf',
+ type: 'Received',
+ comments: 'Documents Details',
+ receiveBy: 'sss',
+ sendTo: 'KR Univ',
+ status: 'sent',
+ date: '20/07/2018',
+ qt: 120,
+ weight: '12kgm',
+ amt : 120
+ },
+ {
+ courierName: 'Answer Booklets',
+ docketNo: '43526345',
+ type: 'Dispatched',
+ comments: 'answer booklets details',
+ receiveBy: 'asd',
+ sendTo: 'SC 2',
+ status: 'received by SC',
+ date: '28/06/2018',
+ qt: 120,
+ weight: '12kgm',
+ amt : 120
+ },
+ {
+ courierName: 'Forms',
+ docketNo: '8855435',
+ type: 'Dispatched',
+ comments: 'details',
+ receiveBy: 'abc',
+ sendTo: 'SC 1',
+ status: 'Sent by SC',
+ date: '12/06/2018',
+ qt: 120,
+ weight: '12kgm',
+ amt : 120
+ }
+ ]
+ }
+
+ getModelWindowDetails(stuCent) {
+ this.myModalData = stuCent||null;
+ }
+ editDocuments(){
+ this.show = !this.show;
+ }
+
+}
diff --git a/src/app/views/study-material/study-material-routing.module.ts b/src/app/views/study-material/study-material-routing.module.ts
new file mode 100644
index 0000000..c2d8546
--- /dev/null
+++ b/src/app/views/study-material/study-material-routing.module.ts
@@ -0,0 +1,19 @@
+import { NgModule } from '@angular/core';
+import { Routes, RouterModule } from '@angular/router';
+// Study Material
+import { StudyMaterialComponent } from './study-material/study-material.component';
+const routes: Routes = [
+ {
+ path: '',
+ component: StudyMaterialComponent,
+ data: {
+ title: 'Study Material'
+ }
+ }
+];
+
+@NgModule({
+ imports: [RouterModule.forChild(routes)],
+ exports: [RouterModule]
+})
+export class StudyMaterialRoutingModule {}
diff --git a/src/app/views/study-material/study-material.module.ts b/src/app/views/study-material/study-material.module.ts
new file mode 100644
index 0000000..6976610
--- /dev/null
+++ b/src/app/views/study-material/study-material.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 { StudyMaterialRoutingModule } from './study-material-routing.module';
+
+// Study Material
+import { StudyMaterialComponent } from './study-material/study-material.component';
+@NgModule({
+ imports: [
+ CommonModule,
+ FormsModule,
+ TabsModule,
+ ModalModule.forRoot(),
+ TooltipModule,
+ StudyMaterialRoutingModule
+ ],
+ declarations: [
+ StudyMaterialComponent
+ ]
+})
+export class StudyMaterialModule { }
diff --git a/src/app/views/study-material/study-material/study-material.component.html b/src/app/views/study-material/study-material/study-material.component.html
new file mode 100644
index 0000000..76e5fe3
--- /dev/null
+++ b/src/app/views/study-material/study-material/study-material.component.html
@@ -0,0 +1,199 @@
+
+
+
+ Study Material Status
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ | ID |
+ Study Material Details |
+ University |
+ Course |
+ Total |
+ Status |
+
+
+
+
+
+ | {{app.applicationId}} |
+ {{app.details}} |
+ {{app.univ}} |
+ {{app.course}} |
+ {{app.total}} |
+
+ Received
+ Sent
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{myModalData.details}}
+
+
+ {{myModalData.univ}}
+
+
+
+
+ {{myModalData.course}}
+
+
+
+
+ {{myModalData.total}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/app/views/study-material/study-material/study-material.component.scss b/src/app/views/study-material/study-material/study-material.component.scss
new file mode 100644
index 0000000..e69de29
diff --git a/src/app/views/study-material/study-material/study-material.component.ts b/src/app/views/study-material/study-material/study-material.component.ts
new file mode 100644
index 0000000..7ff1f5d
--- /dev/null
+++ b/src/app/views/study-material/study-material/study-material.component.ts
@@ -0,0 +1,50 @@
+import { Component, OnInit } from '@angular/core';
+
+@Component({
+ templateUrl: 'study-material.component.html'
+})
+
+export class StudyMaterialComponent implements OnInit {
+ show = false;
+ closed = false;
+ public myModal;
+ public myModalData;
+ studyMaterialDetails: any;
+ constructor() { }
+ ngOnInit(){
+ this.studyMaterialDetails = [
+ {
+ applicationId: '1',
+ details: 'xyz',
+ univ: 'kr university',
+ course: 'B.com',
+ total: '12',
+ status: '1'
+ },
+ {
+ applicationId: '2',
+ details: 'xyz',
+ univ: 'kr university',
+ course: 'B.Sc',
+ total: '12',
+ status: '1'
+ },
+ {
+ applicationId: '3',
+ details: 'xyz',
+ univ: 'kr university',
+ course: 'MCA',
+ total: '12',
+ status: '0'
+ }
+ ]
+ }
+
+ getModelWindowDetails(stuCent) {
+ this.myModalData = stuCent||null;
+ }
+ editStudyCenter(){
+ this.show = !this.show;
+ }
+
+}