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
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -14,7 +14,7 @@ export interface ShipmentBins {
export interface FEndUpdateInventoryItem {
index: number
isCorrect: boolean
shipmentBinNr_Ist: number
shipmentBinNrIst: number
}
export interface Picklist {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment