Subversion Repositories SmartDukaan

Rev

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

Rev 26320 Rev 26323
Line 20... Line 20...
20
	  source: retailers,
20
	  source: retailers,
21
	  autoSelect: true,
21
	  autoSelect: true,
22
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
22
	  displayText:function(item){return item.businessName + "-" + item.address.city;},
23
	  afterSelect:	function(currentItem){
23
	  afterSelect:	function(currentItem){
24
	  					currentFofoId = currentItem.partnerId;
24
	  					currentFofoId = currentItem.partnerId;
-
 
25
	  					fofoId = currentItem.partnerId;
25
	  						doAjaxRequestHandler(context+"/return/inventory/" + currentFofoId, "GET", function(response){
26
	  						doAjaxRequestHandler(context+"/return/inventory/" + currentFofoId, "GET", function(response){
26
		              	inventoryTable.rows().remove().rows.add($(response)).draw(false);
27
		              	inventoryTable.rows().remove().rows.add($(response)).draw(false);
27
		});
28
		});
28
	  				}
29
	  				}
29
	});
30
	});