diff --git a/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.html b/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.html
index 45f7c96..6a0e564 100644
--- a/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.html
+++ b/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.html
@@ -76,19 +76,29 @@
Action |
-
-
+
+
| {{stock.universityname}} |
{{stock.coursename}} |
{{stock.semyear}} |
{{stock.registration}} |
{{stock.stock}} |
-
+
|
+
+
+ | Date |
+ Details |
+ Incoming |
+ Outgoing |
+ Balance on Hand |
+
+
+
diff --git a/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.ts b/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.ts
index b9b31cc..bf75a3d 100644
--- a/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.ts
+++ b/src/app/views/studymaterial/studymaterialstock/studymaterialstock.component.ts
@@ -11,6 +11,7 @@ export class StudymaterialstockComponent implements OnInit {
public myModal;
public myModalData;
studymaterialDetails: any;
+ stockdetails:any;
constructor() { }
ngOnInit() {
@@ -37,11 +38,35 @@ export class StudymaterialstockComponent implements OnInit {
stock: '80'
}
]
+
+ this.stockdetails = [
+ {
+ date: '10/08/2018',
+ details: 'MCA',
+ incoming: '100',
+ outgoing: '30',
+ balanceonhand: '70'
+ },
+ {
+ date: '12/08/2018',
+ details: 'MCA',
+ incoming: '60',
+ outgoing: '30',
+ balanceonhand: '30'
+ },
+ {
+ date: '14/08/2018',
+ details: 'MCA',
+ incoming: '50',
+ outgoing: '0',
+ balanceonhand: '50'
+ }
+ ]
}
- getModelWindowDetails(stuCent) {
- this.myModalData = stuCent||null;
- }
- viewstock(){
+ viewId: any;
+ viewstock(i){
+ this.viewId = i;
this.show = !this.show;
+
}
}
\ No newline at end of file