Subversion Repositories SmartDukaan

Rev

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

Rev 27412 Rev 27509
Line 148... Line 148...
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
	}
-
 
153
	
-
 
154
		function getWarehouseBrandStock(warehouseId){
-
 
155
	
-
 
156
		doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandStock?warehouseId="+warehouseId,
-
 
157
			function(response) {
-
 
158
				$('#' + "main-content").html(response);
-
 
159
				console.log(response)
-
 
160
			});
-
 
161
	}
153
	</script>
162
	</script>
154
 
163
 
155
  </head>
164
  </head>
156
 
165
 
157
  <body style="zoom:90%;background-color:#f7f7f7">
166
  <body style="zoom:90%;background-color:#f7f7f7">
Line 281... Line 290...
281
						<div class="col-lg-4">
290
						<div class="col-lg-4">
282
						 <table class="table table-striped table-advance table-hover">
291
						 <table class="table table-striped table-advance table-hover">
283
	    			<tbody>
292
	    			<tbody>
284
	    				<tr>
293
	    				<tr>
285
	    				<th>W/H Location</th>
294
	    				<th>W/H Location</th>
286
	    				<th>Brand</th>
-
 
287
	    				<th>Total Stock</th>
295
	    				<th>Total Stock</th>
288
	    				<th>Total Value</th>
296
	    				<th>Total Value</th>
289
	    				</tr>
297
	    				</tr>
-
 
298
	    				#foreach($key in $warehouseMap.keySet())
290
	    				
299
	    			
-
 
300
	    				<tr onclick="getWarehouseBrandStock($warehouseStockMap.get($key).getWarehouseId())">
-
 
301
	    					<td>$warehouseMap.get($key)</td>
291
	    				#foreach($key in $authIdAndallValues.keySet())
302
	    					#if($warehouseStockMap.get($key).getStockQty())
-
 
303
	    					<td>$warehouseStockMap.get($key).getStockQty()</td>
-
 
304
	    					<td class="currency">$warehouseStockMap.get($key).getStockValue()</td>
292
	    				<tr>
305
	    					#else
293
	    					<td></td>
306
	    					<td>0</td>
294
	    					<td></td>
307
	    					<td>0</td>
295
	    					<td></td>
308
	    					#end
-
 
309
	    					
-
 
310
	    					
296
	    					<td></td>
311
	    					
297
		                  </tr>
312
		                  </tr>
-
 
313
		              
298
	    				 #end
314
	    				 #end
299
	    			
315
	    			
300
	    				
316
	    				
301
	    		    </tbody>
317
	    		    </tbody>
302
	    		</table>
318
	    		</table>