diff --git a/src/app/components/pick-list/pick-list.component.html b/src/app/components/pick-list/pick-list.component.html index 43a2040203981fbb70fe93f1682bb916c9600e85..5c51e27460c202304136f985930e52d77c6f31f6 100644 --- a/src/app/components/pick-list/pick-list.component.html +++ b/src/app/components/pick-list/pick-list.component.html @@ -36,7 +36,7 @@ <th mat-header-cell *matHeaderCellDef> Inventory Ist </th> <td mat-cell *matCellDef="let item"> <mat-chip-list *ngIf="item.inventoryItemIst"> - <mat-basic-chip selected [style]="item.inventoryIsCorrect === false ? 'background-color:red; color:white' : 'background-color:green; color:white'"> + <mat-basic-chip selected [style]="item.inventoryIsCorrect === true ? 'background-color:green; color:white' : 'background-color:red; color:white'"> {{item.inventoryItemIst}} </mat-basic-chip> </mat-chip-list> @@ -50,7 +50,7 @@ </th> <td mat-cell *matCellDef="let item"> <mat-chip-list *ngIf="item.shipmentBinNrIst"> - <mat-basic-chip selected [style]="item.shipmentIsCorrect === false ? 'background-color:red; color:white' : 'background-color:green; color:white'"> + <mat-basic-chip selected [style]="item.shipmentIsCorrect === true ? 'background-color:green; color:white' : 'background-color:red; color:white'"> {{item.shipmentBinNrIst}} </mat-basic-chip> </mat-chip-list> diff --git a/src/app/components/pick-list/pick-list.component.ts b/src/app/components/pick-list/pick-list.component.ts index cac089493e22438e601faa76380037bf08107cab..481d65f7a36be6ac095af1b6d27cdee9f361aaf9 100644 --- a/src/app/components/pick-list/pick-list.component.ts +++ b/src/app/components/pick-list/pick-list.component.ts @@ -53,7 +53,7 @@ export class PickListComponent implements OnInit { private subsPosition: Subscription; - displayedColumns: string[] = ['index', 'product', 'inventory_soll', 'inventory_ist', 'shipment_soll', 'shipment_ist', 'picker', 'list']; + displayedColumns: string[] = ['index', 'product', 'inventory_soll', 'inventory_ist', 'shipment_soll', 'shipment_ist']; tableData: any; pickListData: any;