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 @@ ...@@ -4,7 +4,7 @@
<div class="row"> <div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- --> <!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image"> <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> </span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- -----> <!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
...@@ -25,6 +25,7 @@ export class EcmCelebrationComponent implements OnInit, EcmTemplateInterface { ...@@ -25,6 +25,7 @@ export class EcmCelebrationComponent implements OnInit, EcmTemplateInterface {
transPortFacility; transPortFacility;
thingsToCarry; thingsToCarry;
itemDetailpath; itemDetailpath;
enterpise = localStorage.getItem( 'ENTERPRISE' );
constructor( private route: ActivatedRoute, private router: Router, private http: Http ) { } constructor( private route: ActivatedRoute, private router: Router, private http: Http ) { }
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="row"> <div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- --> <!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image"> <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> </span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- -----> <!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
...@@ -34,6 +34,7 @@ export class EcmFoodComponent implements OnInit, EcmTemplateInterface { ...@@ -34,6 +34,7 @@ export class EcmFoodComponent implements OnInit, EcmTemplateInterface {
itemCode; itemCode;
cartItems: Observable<Item[]>; cartItems: Observable<Item[]>;
wishlistItems: 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."; 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 @@ ...@@ -11,7 +11,7 @@
</md-button-toggle> </md-button-toggle>
</div> </div>
<div class="md-card-image"> <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>
</div> </div>
......
...@@ -35,6 +35,7 @@ export class EcmGeneralComponent implements OnInit, EcmTemplateInterface, OnDest ...@@ -35,6 +35,7 @@ export class EcmGeneralComponent implements OnInit, EcmTemplateInterface, OnDest
itemCode; itemCode;
cartItems: Observable<Item[]>; cartItems: Observable<Item[]>;
wishlistItems: 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."; 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 @@ ...@@ -11,7 +11,7 @@
</md-button-toggle> </md-button-toggle>
</div> </div>
<div class="md-card-image"> <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>
</div> </div>
......
...@@ -35,7 +35,8 @@ export class EcmHandicraftComponent implements OnInit, EcmTemplateInterface, OnD ...@@ -35,7 +35,8 @@ export class EcmHandicraftComponent implements OnInit, EcmTemplateInterface, OnD
itemCode; itemCode;
cartItems: Observable<Item[]>; cartItems: Observable<Item[]>;
wishlistItems: 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."; 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>) { } constructor( private route: ActivatedRoute, private router: Router, private http: Http, public dialog: MdDialog, private store: Store<AppState>) { }
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</md-button-toggle> </md-button-toggle>
</div> </div>
<div class="md-card-image"> <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>
</div> </div>
......
...@@ -26,7 +26,8 @@ export class EcmOutingComponent implements OnInit, EcmTemplateInterface { ...@@ -26,7 +26,8 @@ export class EcmOutingComponent implements OnInit, EcmTemplateInterface {
@ViewChild( 'recentView' ) recentView: EcmRecentViewComponent; @ViewChild( 'recentView' ) recentView: EcmRecentViewComponent;
@Input() inWishlist: boolean = false; @Input() inWishlist: boolean = false;
@ViewChild('itemDetails') itemDetails: ElementRef; @ViewChild('itemDetails') itemDetails: ElementRef;
enterpise = localStorage.getItem( 'ENTERPRISE' );
counterValue = 1; counterValue = 1;
itemPrice = 1000; itemPrice = 1000;
total = this.itemPrice; total = this.itemPrice;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="row"> <div class="row">
<!-- ------------------------ITEM-IMAGE START HERE-------------------------------- --> <!-- ------------------------ITEM-IMAGE START HERE-------------------------------- -->
<span class="small-12 medium-6 large-6 columns image"> <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> </span>
<!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- -----> <!-- -----------------------ITEM-IMAGE ENDS HERE-------------------------------- ----->
......
...@@ -20,7 +20,8 @@ export class EcmTrainingComponent implements OnInit, EcmTemplateInterface { ...@@ -20,7 +20,8 @@ export class EcmTrainingComponent implements OnInit, EcmTemplateInterface {
@Output() doActivity = new EventEmitter(); @Output() doActivity = new EventEmitter();
@ViewChild( 'recentView' ) recentView: EcmRecentViewComponent; @ViewChild( 'recentView' ) recentView: EcmRecentViewComponent;
@ViewChild('itemDetails') itemDetails: ElementRef; @ViewChild('itemDetails') itemDetails: ElementRef;
enterpise = localStorage.getItem( 'ENTERPRISE' );
counterValue = 1; counterValue = 1;
itemPrice = 1000; itemPrice = 1000;
total = this.itemPrice; 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