Subversion Repositories SmartDukaan

Rev

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

Rev 27541 Rev 27545
Line 140... Line 140...
140
	}
140
	}
141
	
141
	
142
	
142
	
143
	</style>
143
	</style>
144
	<script type="text/javascript">
144
	<script type="text/javascript">
145
	function getAuthUser(authId){
145
	function getWarehousePartners(warehouseId){
146
	
146
	
147
		doGetAjaxRequestHandler(context + "/getAuthUserPartners?authId="+authId,
147
		doGetAjaxRequestHandler(context + "/getWarehousePartners?warehouseId="+warehouseId,
148
			function(response) {
148
			function(response) {
149
				$('#' + "main-content").html(response);
149
				$('#' + "main-content").html(response);
150
				console.log(response)
150
				console.log(response)
151
			});
151
			});
152
	}
152
	}
Line 281... Line 281...
281
					
281
					
282
					<div class="col-lg-6">
282
					<div class="col-lg-6">
283
				 <table class="table table-striped table-advance table-hover">
283
				 <table class="table table-striped table-advance table-hover">
284
	    			<tbody>
284
	    			<tbody>
285
	    				<tr>
285
	    				<tr>
286
	    				<th>Sale Head</th>
286
	    				<th>W/H Location</th>
287
	    				<th>Total Partners</th>
287
	    				<th>Partners</th>
288
	    				<th>lmtd</th>
288
                         <th>lmtd</th>
289
	    				<th>mtd</th>
289
	    				 <th>mtd</th>
290
	    				<th>Hygiene</th>
-
 
291
	    				<th>Tickets</th>
290
	    				 <th>Tickets</th>
292
	    				<th>Leads</th>
-
 
293
	    				<!--<th>In Stock Investment</th>
-
 
294
	    				<th>Total Investment</th>-->
-
 
295
	    				</tr>
-
 
296
	    				#foreach($name in $authIdAndallValues.keySet())
-
 
297
	    				<tr onclick="getAuthUser($name)">
-
 
298
	    	 		     <td>$authIdAndAuthUserMap.get($name).getFirstName() $authIdAndAuthUserMap.get($name).getLastName()</td>
-
 
299
	    	 		     <td>$authIdAndallValues.get($name).getCount()</td>
-
 
300
	    	 		     <td class="currency">$authIdAndallValues.get($name).getLmtd()</td>
-
 
301
	    	 		     <td class="currency">$authIdAndallValues.get($name).getMtd()</td>
-
 
302
	    	 		     <td>$authIdAndallValues.get($name).getHygienePercentage()</td>
-
 
303
	    	 		     <td>$authIdAndallValues.get($name).getTicket()</td>
-
 
304
	    	 		     <td>$authIdAndallValues.get($name).getLeads()</td>
-
 
305
	    	 		     <!--<td class="currency">$authIdAndallValues.get($name).getInvestment().getInStockAmount()</td>
-
 
306
	    	 		     <td class="currency">$authIdAndallValues.get($name).getInvestment().getTotalInvestment()</td>-->
-
 
307
		                  
-
 
308
	    				</tr>
291
	    				</tr>
-
 
292
	    				#foreach($name in $warehousePartnerDetailMap.keySet())
-
 
293
	    				<tr onclick="getWarehousePartners($name)">
-
 
294
	    	 		     <td>$warehouseMap.get($name)</td>
-
 
295
	    	 		     <td>$warehousePartnerDetailMap.get($name).getCount()</td>
-
 
296
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getLmtd()</td>
-
 
297
	    	 		     <td class="currency">$warehousePartnerDetailMap.get($name).getMtd()</td>
-
 
298
	    	 		    
-
 
299
	    	 		     <td>$warehousePartnerDetailMap.get($name).getTicket()</td>
-
 
300
	    	 		   
-
 
301
	    	 		   </tr>
309
	    				 #end
302
	    				 #end
310
	    				
303
	    				
311
	    		    </tbody>
304
	    		    </tbody>
312
	    		</table>
305
	    		</table>
313
						</div>
306
						</div>