Subversion Repositories SmartDukaan

Rev

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

Rev 27756 Rev 27838
Line 146... Line 146...
146
	        orderCellsTop: true,
146
	        orderCellsTop: true,
147
	        fixedHeader: true
147
	        fixedHeader: true
148
	    });
148
	    });
149
 
149
 
150
    
150
    
151
     $('#warehousePartnerBrandSale tbody').on('click', 'tr', function () {
151
    $('#warehousePartnerBrandSale tbody').find('tr').click(function () {
152
        var data = table.row( this ).data();
152
     	var data = table.row( this ).data();
153
        
-
 
154
       var brand = $('#brands').val();
153
     	var brand = $('#brands').val();
155
       doGetAjaxRequestHandler(context + "/getWarehouseBrandWiseItemSale?warehouseId="+data[0]+"&brand="+brand,
154
     	doGetAjaxRequestHandler(context + "/getWarehouseBrandWiseItemSale?warehouseId="+data[0]+"&brand="+brand, function(response) {
156
			function(response) {
-
 
157
				$('.warehouse-brand-item-sale-container').html(response);
155
			$('.warehouse-brand-item-sale-container').html(response);
158
				console.log(response)
156
			console.log(response)
159
			
-
 
160
		});
157
		});
161
		
-
 
162
 
-
 
163
    });
-
 
164
 
-
 
165
});
158
	});
166
 
-
 
167
 
-
 
168
$(document).ready(function() {
159
	$("#warehouse-partner-brand-sale").click(function() {
169
$(document).on('click', "#warehouse-partner-brand-sale",
-
 
170
			function() {
-
 
171
		var brand = $('#brands').val();
160
		var brand = $('#brands').val();
172
          doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandPartnerSale?brand="+brand,
161
		doGetAjaxRequestHandler(context + "/getWarehouseWiseBrandPartnerSale?brand=?brand="+brand, function(response) {
173
			function(response) {
-
 
174
				$('#' + "main-content").html(response);
162
			$('#' + "main-content").html(response);
175
				console.log(response)
163
			console.log(response)
176
			});
164
		});
177
	});
165
	});
178
});
166
});
179
 
167
 
180
</script>
168
</script>
181
169