Commit 5f5216b0 authored by pborate's avatar pborate

Updated ecm-variants.component.ts and ecm-variants.component.html

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177334 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 910a508c
...@@ -49,6 +49,6 @@ ...@@ -49,6 +49,6 @@
[ngClass]="color_selected == j ? 'selected' : ''" [ngClass]="color_selected == j ? 'selected' : ''"
(click)="loadItem(j,'Color')"> (click)="loadItem(j,'Color')">
<bb-image [isThumbnail]="true" [refId]='variant.itemCode' <bb-image [isThumbnail]="true" [refId]='variant.itemCode'
[refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage]="true"></bb-image> [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage]="true" [enterprise]='enterpise' ></bb-image>
</div> </div>
</div> </div>
\ No newline at end of file
...@@ -11,6 +11,7 @@ export class EcmVariantsComponent implements OnChanges{ ...@@ -11,6 +11,7 @@ export class EcmVariantsComponent implements OnChanges{
@Input( 'itemVariants' ) itemVariants; @Input( 'itemVariants' ) itemVariants;
@Output() selected = new EventEmitter(); @Output() selected = new EventEmitter();
@Input( 'interactive' ) interactive: boolean = true; @Input( 'interactive' ) interactive: boolean = true;
enterpise = localStorage.getItem( 'ENTERPRISE' );
currentVariants; currentVariants;
traceData: any; traceData: any;
availableDates: Array<string> = []; availableDates: Array<string> = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment