Subversion Repositories SmartDukaan

Rev

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

Rev 33814 Rev 34087
Line 144... Line 144...
144
 
144
 
145
	});
145
	});
146
 
146
 
147
 
147
 
148
	$('#partnerSecondary').on('click', '.brandFocusedStock', function() {
148
	$('#partnerSecondary').on('click', '.brandFocusedStock', function() {
-
 
149
 
149
		var fofoId = $(this).data('fofoid');
150
		var fofoId = $(this).data('fofoid');
150
		var brand = $(this).data('brand');
151
		var brand = $(this).data('brand');
151
 
152
 
152
		console.log(brand)
-
 
153
		console.log(fofoId)
-
 
154
 
-
 
155
		doGetAjaxRequestHandler(
153
		doGetAjaxRequestHandler(
156
			"https://partners.smartdukaan.com" + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
154
			"https://partners.smartdukaan.com" + "/getPartnerShortageStock?brand=" + brand + "&fofoId="
157
			+ fofoId, function(response) {
155
			+ fofoId, function(response) {
158
 
156
 
159
				$('#itemWiseBrandStock .modal-content').html(response);
157
				$('#itemWiseBrandStock .modal-content').html(response);
160
 
158
 
161
			});
159
			});
162
	});
160
	});
163
 
161
 
-
 
162
	$(document).on('click', '.brandFocusedStockDetail', function () {
-
 
163
 
-
 
164
		var fofoId = $(this).data('fofoid');
-
 
165
		var brand = $(this).data('brand');
-
 
166
 
-
 
167
		doGetAjaxRequestHandler(
-
 
168
			"https://partners.smartdukaan.com" + "/getPartnerShortageStockDetail?brand=" + brand + "&fofoId="
-
 
169
			+ fofoId, function (response) {
-
 
170
 
-
 
171
				$('#itemWiseBrandStockDetail').html(response);
-
 
172
 
-
 
173
			});
-
 
174
	});
-
 
175
 
164
 
176
 
165
 
177
 
166
	$(document).on('click', ".agingDataAfterNintyDays", function() {
178
	$(document).on('click', ".agingDataAfterNintyDays", function() {
167
		var fofoId = $(this).data('fofoid');
179
		var fofoId = $(this).data('fofoid');
168
		console.log(fofoId)
180
		console.log(fofoId)