From d0b252e3814a69a32dd069f766269ebbb54a2cdd Mon Sep 17 00:00:00 2001 From: gayathri1990 Date: Fri, 10 Aug 2018 14:59:28 +0530 Subject: [PATCH 1/4] stock view in studymaterial --- .../allocatematerial.component.html | 2 +- .../studymaterial-routing.module.ts | 2 +- .../studymaterial/studymaterial.module.ts | 3 +- .../studymaterialstock.component.html | 46 ++++--------------- .../studymaterialstock.component.spec.ts | 25 ---------- .../studymaterialstock.component.ts | 36 ++++++++++++++- .../viewstock/viewstock.component.html | 3 ++ .../viewstock/viewstock.component.scss | 0 .../viewstock/viewstock.component.ts | 15 ++++++ 9 files changed, 65 insertions(+), 67 deletions(-) delete mode 100644 src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.spec.ts create mode 100644 src/app/views/studymaterial/studymaterialstock/viewstock/viewstock.component.html create mode 100644 src/app/views/studymaterial/studymaterialstock/viewstock/viewstock.component.scss create mode 100644 src/app/views/studymaterial/studymaterialstock/viewstock/viewstock.component.ts diff --git a/src/app/views/studymaterial/allocatematerial/allocatematerial.component.html b/src/app/views/studymaterial/allocatematerial/allocatematerial.component.html index ab1d6dd..22019b3 100644 --- a/src/app/views/studymaterial/allocatematerial/allocatematerial.component.html +++ b/src/app/views/studymaterial/allocatematerial/allocatematerial.component.html @@ -107,7 +107,7 @@ - +
- + +
+
+   + +
+ +
+
+ +
+
+
+ View Document Status +
+
+
+
+
+ + +
+
+
+ +
+ +
+
+
+ + + + + + + + + + + + + + + + + +
Status NameTypeStatusAction
{{document.statusName}}{{document.type}} + {{document.status}} + + +
+ +
+ +
+ +
+
+
+
+ Fees
diff --git a/src/app/views/masters/status-master/status-master.component.scss b/src/app/views/masters/status-master/status-master.component.scss index cc75a4b..87c5967 100644 --- a/src/app/views/masters/status-master/status-master.component.scss +++ b/src/app/views/masters/status-master/status-master.component.scss @@ -8,5 +8,5 @@ cursor:pointer; } .saveBtn { - padding-top: 28px; + padding-top: 29px; } \ No newline at end of file diff --git a/src/app/views/masters/status-master/status-master.component.ts b/src/app/views/masters/status-master/status-master.component.ts index 3092756..50c0cf5 100644 --- a/src/app/views/masters/status-master/status-master.component.ts +++ b/src/app/views/masters/status-master/status-master.component.ts @@ -12,6 +12,7 @@ export class StatusMasterComponent implements OnInit { formStatus: any; markCardStatus: any; studyMaterialStatus: any; + documentStatus: any; constructor() { } ngOnInit() { @@ -39,6 +40,18 @@ export class StatusMasterComponent implements OnInit { status: 'Active' }, ] + this.documentStatus = [ + { + statusName: 'Sent to SC ', + type: 'Document', + status: 'Active' + }, + { + statusName: 'Received by SC', + type: 'Document', + status: 'Active' + }, + ] this.feesStatus = [ { statusName: 'Paid',