function fetchData(){
	  		let outlet_id = localStorage.getItem("outletId");
	  		var url = 'store/products?outlet_id='+outlet_id;
	  		return ajaxService.get(url);
	  	}
/*
	  	* returns a promise containing 
	  	* server request for fetching products and variants
	  	*/
returns a promise containing
server request for fetching products and variants
returns a promise containing server request for fetching products and variants
function fetchData(){
	  		let outlet_id = localStorage.getItem("outletId");
	  		var url = 'store/products?outlet_id='+outlet_id;
	  		return ajaxService.get(url);
	  	}
function fetchData ( ) { let outlet_id = localStorage . getItem ( "outletId" ) ; var url = 'store/products?outlet_id=' + outlet_id ; return ajaxService . get ( url ) ; }
returns a promise containing
 server request for fetching products and variants
returns a promise containing server request for fetching products and variants