Subversion Repositories SmartDukaan

Rev

Rev 28725 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 28725 Rev 30599
Line 247... Line 247...
247
						targetSlab.push(slabInputs);
247
						targetSlab.push(slabInputs);
248
						slabInputs = {};
248
						slabInputs = {};
249
						console.log(targetSlab);
249
						console.log(targetSlab);
250
						if (confirm("Are you sure you want to upload excel file!") == true) {
250
						if (confirm("Are you sure you want to upload excel file!") == true) {
251
							var data = {
251
							var data = {
252
								targetName : targetName,
252
								targetName: targetName,
253
								startDate : startDate,
253
								startDate: getDatesFromPicker($('input[name="targetDuration"]')).startDate,
254
								endDate : endDate,
254
								endDate: getDatesFromPicker($('input[name="targetDurarion"]')).endDate,
255
								brandName : brandName,
255
								brandName: brandName,
256
								targetSlabs : targetSlab
256
								targetSlabs: targetSlab
257
							}
257
							}
258
 
258
 
259
							doAjaxUploadRequestJsonHandler(context
259
							doAjaxUploadRequestJsonHandler(context
260
									+ "/uploadPartnersTarget", 'POST',
260
									+ "/uploadPartnersTarget", 'POST',
261
									excelfile, JSON.stringify(data), function(
261
									excelfile, JSON.stringify(data), function(