Commit 4e091cf2 authored by pborate's avatar pborate

Updated ecm-template.

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@177329 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 9ea376d6
......@@ -4,7 +4,7 @@
<div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" ></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise'></bb-image>
</span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
......@@ -25,6 +25,7 @@ export class EcmCelebrationComponent implements OnInit, EcmTemplateInterface {
transPortFacility;
thingsToCarry;
itemDetailpath;
enterpise = localStorage.getItem( 'ENTERPRISE' );
constructor( private route: ActivatedRoute, private router: Router, private http: Http ) { }
......
......@@ -4,7 +4,7 @@
<div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" ></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise' ></bb-image>
</span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
......@@ -34,6 +34,7 @@ export class EcmFoodComponent implements OnInit, EcmTemplateInterface {
itemCode;
cartItems: Observable<Item[]>;
wishlistItems: Observable<Item[]>;
enterpise = localStorage.getItem( 'ENTERPRISE' );
overview = "In the midst of one of the busiest streets of Mumbai you will find authentic Indian food at B Bhagat Tarachand.It started as a small eatery set up after the partition to serve home-cooked-style meals to the market goers. Soon with the principles of Mr. Bhagat Tarachand intact and the new vision it grew into its current avatar of 3 storey restaurant.";
......
......@@ -11,7 +11,7 @@
</md-button-toggle>
</div>
<div class="md-card-image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" class="product-image"></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise' class="product-image"></bb-image>
</div>
</div>
......
......@@ -35,6 +35,7 @@ export class EcmGeneralComponent implements OnInit, EcmTemplateInterface, OnDest
itemCode;
cartItems: Observable<Item[]>;
wishlistItems: Observable<Item[]>;
enterpise = localStorage.getItem( 'ENTERPRISE' );
overview = "We are a renowned manufacture, supplier, wholesalers and traders of decorative basket, artificial flower, artificial flower bunches, rangoli designs, chocolate decoration material, wedding decoration material, candle making material, emboss painting, glass painting, school decoration material, handicrafts trays, handicraft trays-etc and caters to hotels, restaurants, bungalows, school, households-etc.";
......
......@@ -11,7 +11,7 @@
</md-button-toggle>
</div>
<div class="md-card-image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" class="product-image"></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise' class="product-image"></bb-image>
</div>
</div>
......
......@@ -35,7 +35,8 @@ export class EcmHandicraftComponent implements OnInit, EcmTemplateInterface, OnD
itemCode;
cartItems: Observable<Item[]>;
wishlistItems: Observable<Item[]>;
enterpise = localStorage.getItem( 'ENTERPRISE' );
overview = "We are a renowned manufacture, supplier, wholesalers and traders of decorative basket, artificial flower, artificial flower bunches, rangoli designs, chocolate decoration material, wedding decoration material, candle making material, emboss painting, glass painting, school decoration material, handicrafts trays, handicraft trays-etc and caters to hotels, restaurants, bungalows, school, households-etc.";
constructor( private route: ActivatedRoute, private router: Router, private http: Http, public dialog: MdDialog, private store: Store<AppState>) { }
......
......@@ -11,7 +11,7 @@
</md-button-toggle>
</div>
<div class="md-card-image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" class="product-image"></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise' class="product-image"></bb-image>
</div>
</div>
......
......@@ -26,7 +26,8 @@ export class EcmOutingComponent implements OnInit, EcmTemplateInterface {
@ViewChild( 'recentView' ) recentView: EcmRecentViewComponent;
@Input() inWishlist: boolean = false;
@ViewChild('itemDetails') itemDetails: ElementRef;
enterpise = localStorage.getItem( 'ENTERPRISE' );
counterValue = 1;
itemPrice = 1000;
total = this.itemPrice;
......
......@@ -3,7 +3,7 @@
<div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image">
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" ></bb-image>
<bb-image [refId]='itemDetail.itemCode' [refSer]="'M-ITEM'" [object]="'ITEM'" [isSingleImage] = "true" [enterprise]='enterpise'></bb-image>
</span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
......@@ -20,7 +20,8 @@ export class EcmTrainingComponent implements OnInit, EcmTemplateInterface {
@Output() doActivity = new EventEmitter();
@ViewChild( 'recentView' ) recentView: EcmRecentViewComponent;
@ViewChild('itemDetails') itemDetails: ElementRef;
enterpise = localStorage.getItem( 'ENTERPRISE' );
counterValue = 1;
itemPrice = 1000;
total = this.itemPrice;
......
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