|
|
|
|
@ -60,7 +60,9 @@ export class OfferDetailsComponent implements OnInit {
|
|
|
|
|
this.cs.navigateForward('/offersdiscount/location');
|
|
|
|
|
}
|
|
|
|
|
getLocation() {
|
|
|
|
|
this.cs.startLoading();
|
|
|
|
|
this.offersService.getOfferLocation({ OfferId: this.details.rowID }, () => { }, this.ts.trPK('general', 'retry')).subscribe((result) => {
|
|
|
|
|
this.cs.stopLoading();
|
|
|
|
|
result = JSON.parse(result.Mohemm_ITG_ResponseItem).result.data;
|
|
|
|
|
this.cs.sharedService.setSharedData(result, OfferDiscountService.selected_offers);
|
|
|
|
|
this.openLocation();
|
|
|
|
|
|