Subversion Repositories SmartDukaan

Rev

Rev 27599 | Rev 27631 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 27599 Rev 27628
Line 187... Line 187...
187
		doGetAjaxRequestHandler(context + "/getWarehouseWiseData",
187
		doGetAjaxRequestHandler(context + "/getWarehouseWiseData",
188
			function(response) {
188
			function(response) {
189
				$('#' + "main-content").html(response);
189
				$('#' + "main-content").html(response);
190
				console.log(response)
190
				console.log(response)
191
				if(response == 'true'){
191
				if(response == 'true'){
192
				console.log("hello 2")
-
 
193
				
192
			
194
				  window.location.href = $('.dashboardload').attr('href');
193
				  window.location.href = $('.dashboardload').attr('href');
195
				 }
194
				 }
196
			});
195
			});
197
	}
196
	}
198
	
197
	
-
 
198
   function	getPartnersStat(){
-
 
199
      doGetAjaxRequestHandler(context + "/getPartnersStatData",
-
 
200
			function(response) {
-
 
201
				$('#' + "main-content").html(response);
-
 
202
				console.log(response)
-
 
203
				if(response == 'true'){
-
 
204
					console.log("hello 2")
-
 
205
				
-
 
206
				  window.location.href = $('.dashboardload').attr('href');
-
 
207
				 }
-
 
208
		});
-
 
209
   }
-
 
210
	
199
 
211
 
200
</script>
212
</script>
201
 
213
 
202
	
214
	
203
 
215
 
Line 290... Line 302...
290
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
302
						<li><i class="fa fa-laptop"></i>Dashboard</li>						  	
291
					</ol>
303
					</ol>
292
				</div>
304
				</div>
293
			</div>
305
			</div>
294
			<!-- overview end -->
306
			<!-- overview end -->
295
			
-
 
296
			    #if($warehousePartnerDetailMap)
-
 
297
				<div class="row">
307
				<div class="row">
298
					
308
					
299
				<div class="col-lg-6">
309
				<div class="col-lg-6">
300
				
310
				
301
				 <div class="row col-lg-4">
311
				 <div class="row col-lg-4">
302
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Partner Wise Report</strong></h3>
312
						<h3 style="margin-top:-2px;margin-bottom:24px"><strong>Partner Wise Report</strong></h3>
303
				 </div>
313
				 </div>
-
 
314
				 
-
 
315
				<div style="float:right"> <span style="margin-right:10px">Last Fetch :- $rctPartneStat.getLastCreatedTimestamp().format($dateTimeFormatter)</span><button class="btn btn-primary fetchPartnersData"  onclick="getPartnersStat()" type="button">Fetch</button>
-
 
316
					</div>
304
				 <table class="table table-striped table-advance table-hover">
317
				 <table class="table table-striped table-advance table-hover">
305
	    			<tbody>
318
	    			<tbody>
306
	    				<tr>
319
	    				<tr>
307
	    				<th>W/H Location</th>
320
	    				<th>W/H Location</th>
308
	    				<th>Partners</th>
321
	    				<th>Partners</th>
Line 372... Line 385...
372
	    		</table>
385
	    		</table>
373
					
386
					
374
			 </div>
387
			 </div>
375
			</div>
388
			</div>
376
			
389
			
377
			#end
390
			
378
		
391
		
379
		    #if($brandSales)	
392
		    #if($brandSales)	
380
					
393
					
381
			<div class="row">
394
			<div class="row">
382
				<div class="col-lg-6">
395
				<div class="col-lg-6">