Subversion Repositories SmartDukaan

Rev

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

Rev 27748 Rev 27866
Line 132... Line 132...
132
	    				</tr>
132
	    				</tr>
133
	    				
133
	    				
134
	    			  #foreach($bill in $billing)
134
	    			  #foreach($bill in $billing)
135
	    				<tr onclick="">
135
	    				<tr onclick="">
136
	    	 		      <td>$bill.getBrand()</td>
136
	    	 		      <td>$bill.getBrand()</td>
137
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayQty()</td>
137
	    	 		      <td  data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayQty()</td>
138
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayValue()</td>
138
	    	 		      <td data-time = "0" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getTodayValue()</td>
139
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysQty()</td>
139
	    	 		      <td   data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysQty()</td>
140
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysValue()</td>
140
	    	 		      <td data-time = "3" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getThreedaysValue()</td>
141
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmsQty()</td>
141
	    	 		      <td data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmsQty()</td>
142
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLms()</td>
142
	    	 		      <td data-time = "-1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLms()</td>
143
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtdQty()</td>
143
	    	 		      <td  data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtdQty()</td>
144
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtd()</td>
144
	    	 		      <td   data-time = "1" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getMtd()</td>
145
	    	 		      <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtdQty()</td>
145
	    	 		      <td   data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtdQty()</td>
146
	    	 		       <td data-toggle="modal" data-toggle="modal" data-target="#inventoryListingModel" data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtd()</td>
146
	    	 		       <td   data-time = "2" data-brand = "$bill.getBrand()" class="currency secondaryBilling">$bill.getLmtd()</td>
147
	    	 		     </tr>
147
	    	 		     </tr>
148
	    				 #end
148
	    				 #end
149
	    			
149
	    			
150
	    				
150
	    				
151
	    		    </tbody>
151
	    		    </tbody>
Line 238... Line 238...
238
 	console.log("Hello")
238
 	console.log("Hello")
239
 	
239
 	
240
 		var timeValue = $(this).data('time');
240
 		var timeValue = $(this).data('time');
241
			
241
			
242
		var brand = $(this).data('brand');
242
		var brand = $(this).data('brand');
243
		 var warehouseId = $('#warehouseMap').val()
-
 
244
				
243
				
245
				doGetAjaxRequestHandler(context + "/getSecondaryBillingItemByBrand?timeValue="
244
				doGetAjaxRequestHandler(context + "/getWarehouseWiseSecondaryBillingByBrand?timeValue="
246
						+ timeValue+ "&brand="+brand +"&warehouseIds="+warehouseId, function(response) {
245
						+ timeValue+ "&brand="+brand, function(response) {
247
 
-
 
248
					$('#inventoryListingModel .modal-content').html(response);
-
 
249
 
246
 
-
 
247
					$('#' + "main-content").html(response);
-
 
248
						console.log(response)
250
				});
249
				});
251
});
250
});
252
 
251
 
253
  $('#tertiaryTable').on('click', '.tertBilling', function(){
252
  $('#tertiaryTable').on('click', '.tertBilling', function(){
254
 	console.log("Hello")
253
 	console.log("Hello")