Merge branch 'MOHEMM-HUAWEI-RELEASE' into enad-Q3

MOHEMM-SFH-COLORS
umasoodch 4 years ago
commit 57324d0584

@ -91,9 +91,9 @@ export class HomeComponent implements OnInit {
data: [0, 0, 0, 0, 0, 0],
backgroundColor: [
'#18a169',
'#38c9b3',
'#114475',
'#3cb9d5',
'#114475',
'#38c9b3',
'#cc3232',
'#9e7e97'
],
@ -119,10 +119,10 @@ export class HomeComponent implements OnInit {
},
{
value: 0,
name: 'PO',
name: 'MO',
active: false,
color: '#38c9b3',
key: 'POAPPRV',
color: '#3cb9d5',
key: 'INVMOA',
disable: false
},
{
@ -135,10 +135,10 @@ export class HomeComponent implements OnInit {
},
{
value: 0,
name: 'MR',
name: 'PO',
active: false,
color: '#3cb9d5',
key: 'INVMOA',
color: '#38c9b3',
key: 'POAPPRV',
disable: false
},
{
@ -158,6 +158,7 @@ export class HomeComponent implements OnInit {
disable: false
}
];
public slideOptsOne = {
slidesPerView: 4.3,
spaceBetween: 10
@ -236,9 +237,9 @@ export class HomeComponent implements OnInit {
this.ngZone.run(() => {
this.filters[0].value = this.worklistNotifications.P_OPEN_NTF_NUMBER;
this.filters[1].value = this.totalHR;
this.filters[2].value = this.totalPO;
this.filters[2].value = this.totalMR;
this.filters[3].value = this.totalPR;
this.filters[4].value = this.totalMR;
this.filters[4].value = this.totalPO;
this.filters[6].value = this.totalIC;
});
@ -269,14 +270,14 @@ export class HomeComponent implements OnInit {
if (notification.ITEM_TYPE === 'HRSSA') {
this.filters[1].value = this.totalHR;
this.data.datasets[0].data[0] = notification.OPEN_NTF_NUMBER;
} else if (notification.ITEM_TYPE === 'POAPPRV') {
this.filters[2].value = this.totalPO;
} else if (notification.ITEM_TYPE === 'INVMOA') {
this.filters[2].value = this.totalMR;
this.data.datasets[0].data[1] = notification.OPEN_NTF_NUMBER;
} else if (notification.ITEM_TYPE === 'REQAPPRV') {
this.filters[3].value = this.totalPR;
this.data.datasets[0].data[2] = notification.OPEN_NTF_NUMBER;
} else if (notification.ITEM_TYPE === 'INVMOA') {
this.filters[4].value = this.totalMR;
} else if (notification.ITEM_TYPE === 'POAPPRV') {
this.filters[4].value = this.totalPO;
this.data.datasets[0].data[3] = notification.OPEN_NTF_NUMBER;
} else if (notification.ITEM_TYPE === 'INVITEM') {
this.filters[6].value = this.totalIC;

Loading…
Cancel
Save