Subversion Repositories SmartDukaan

Rev

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

Rev 31892 Rev 31895
Line 171... Line 171...
171
		var brand = $(this).data('brand');
171
		var brand = $(this).data('brand');
172
 
172
 
173
		console.log(brand)
173
		console.log(brand)
174
		console.log(fofoId)
174
		console.log(fofoId)
175
 
175
 
-
 
176
		doGetAjaxRequestHandler(
176
		doGetAjaxRequestHandler(context + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
177
			"https://partners.smartdukaan.com" + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
177
			+ fofoId, function(response) {
178
			+ fofoId, function(response) {
178
 
179
 
179
				$('#itemWiseBrandStock .modal-content').html(response);
180
				$('#itemWiseBrandStock .modal-content').html(response);
180
 
181
 
181
			});
182
			});
182
	});
183
	});
183
 
184
 
184
 
185
 
185
 
186
 
186
 
-
 
187
 
-
 
188
 
-
 
189
 
-
 
190
 
-
 
191
	$(document).on('click', ".extend-billing", function() {
187
	$(document).on('click', ".extend-billing", function() {
192
		var fofoId = $(this).data("fofoid");
188
		var fofoId = $(this).data("fofoid");
193
		console.log(fofoId);
189
		console.log(fofoId);
194
		if (confirm("Are you sure you want to extend Billing?")) {
190
		if (confirm("Are you sure you want to extend Billing?")) {
195
			extendBilling($(this).parent(), fofoId);
191
			extendBilling($(this).parent(), fofoId);