Skip to content
Snippets Groups Projects
Commit 998377e6 authored by FrankR's avatar FrankR
Browse files

renamed field shipmentBinNr_Ist to shipmentBinNrIst

used <mat-basic-chip> instead of <mat-chip> to get a green background
parent 2a6eb9cf
Branches
Tags
No related merge requests found
...@@ -36,9 +36,9 @@ ...@@ -36,9 +36,9 @@
<th mat-header-cell *matHeaderCellDef> Inventory Ist </th> <th mat-header-cell *matHeaderCellDef> Inventory Ist </th>
<td mat-cell *matCellDef="let item"> <td mat-cell *matCellDef="let item">
<mat-chip-list *ngIf="item.inventoryItemIst"> <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}} {{item.inventoryItemIst}}
</mat-chip> </mat-basic-chip>
</mat-chip-list> </mat-chip-list>
</td> </td>
</ng-container> </ng-container>
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
Shipment Ist Shipment Ist
</th> </th>
<td mat-cell *matCellDef="let item"> <td mat-cell *matCellDef="let item">
<mat-chip-list *ngIf="item.shipmentBinNr_Ist"> <mat-chip-list *ngIf="item.shipmentBinNrIst">
<mat-chip selected [color]="item.shipmentIsCorrect === false ? 'warn' : 'primary'"> <mat-basic-chip selected [style]="item.shipmentIsCorrect === false ? 'background-color:red; color:white' : 'background-color:green; color:white'">
{{item.shipmentBinNr_Ist}} {{item.shipmentBinNrIst}}
</mat-chip> </mat-basic-chip>
</mat-chip-list> </mat-chip-list>
</td> </td>
</ng-container> </ng-container>
......
...@@ -14,7 +14,7 @@ export interface ShipmentBins { ...@@ -14,7 +14,7 @@ export interface ShipmentBins {
export interface FEndUpdateInventoryItem { export interface FEndUpdateInventoryItem {
index: number index: number
isCorrect: boolean isCorrect: boolean
shipmentBinNr_Ist: number shipmentBinNrIst: number
} }
export interface Picklist { export interface Picklist {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment