diff --git a/src/app/components/pick-list/pick-list.component.html b/src/app/components/pick-list/pick-list.component.html index a4672493f052ef31667b656a3390f6d44ca6938d..43a2040203981fbb70fe93f1682bb916c9600e85 100644 --- a/src/app/components/pick-list/pick-list.component.html +++ b/src/app/components/pick-list/pick-list.component.html @@ -36,9 +36,9 @@ <th mat-header-cell *matHeaderCellDef> Inventory Ist </th> <td mat-cell *matCellDef="let item"> <mat-chip-list *ngIf="item.inventoryItemIst"> - <mat-chip selected [color]="item.inventoryIsCorrect === false ? 'warn' : 'primary'"> + <mat-basic-chip selected [style]="item.inventoryIsCorrect === false ? 'background-color:red; color:white' : 'background-color:green; color:white'"> {{item.inventoryItemIst}} - </mat-chip> + </mat-basic-chip> </mat-chip-list> </td> </ng-container> @@ -49,10 +49,10 @@ Shipment Ist </th> <td mat-cell *matCellDef="let item"> - <mat-chip-list *ngIf="item.shipmentBinNr_Ist"> - <mat-chip selected [color]="item.shipmentIsCorrect === false ? 'warn' : 'primary'"> - {{item.shipmentBinNr_Ist}} - </mat-chip> + <mat-chip-list *ngIf="item.shipmentBinNrIst"> + <mat-basic-chip selected [style]="item.shipmentIsCorrect === false ? 'background-color:red; color:white' : 'background-color:green; color:white'"> + {{item.shipmentBinNrIst}} + </mat-basic-chip> </mat-chip-list> </td> </ng-container> diff --git a/src/app/model/picker-model.ts b/src/app/model/picker-model.ts index 2ee48146a2fa5977da878ffebf51927d122afe0d..671fff05aa3a56c4c0e70b149c6f957f285088b1 100644 --- a/src/app/model/picker-model.ts +++ b/src/app/model/picker-model.ts @@ -14,7 +14,7 @@ export interface ShipmentBins { export interface FEndUpdateInventoryItem { index: number isCorrect: boolean - shipmentBinNr_Ist: number + shipmentBinNrIst: number } export interface Picklist {