Subversion Repositories SmartDukaan

Rev

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

Rev 23884 Rev 23946
Line 58... Line 58...
58
						}
58
						}
59
					}
59
					}
60
			);
60
			);
61
		}
61
		}
62
	});
62
	});
63
	$('#download').live('click', function (){
-
 
64
		if (confirm("Are you sure you want to Download!") == true) {
-
 
65
			priceDropId=$(this).data('download');
-
 
66
		console.log(priceDropId);
-
 
67
		doAjaxGetDownload(context+"/downloadPriceDropIMEI/"+priceDropId,
-
 
68
		"priceDrop"+priceDropId+".xlsx");
-
 
69
		}
-
 
70
	});
-
 
71
	$('input.downloadtotalIMEI').live('click', function (){
63
	$('input.downloadtotalIMEI').live('click', function (){
72
		if (confirm("Are you sure you want to Download!") == true) {
-
 
73
		priceDropId=$(this).closest('tr').data('priceDropId');
64
		priceDropId=$(this).closest('tr').data('pricedropid');
74
		console.log(priceDropId);
65
		console.log(priceDropId);
75
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
66
		doAjaxGetDownload(context+"/downloadtotalPriceDropIMEI/"+priceDropId,
76
		"totalPriceDropIMEI"+priceDropId+".xlsx");
67
		"totalPriceDropIMEI"+priceDropId+".xlsx");
77
		}
-
 
78
	});
68
	});
79
	
69
	
80
	
70
	
81
	$('#cashTopartner').live('click', function (){
71
	$('#cashTopartner').live('click', function (){
82
		if (confirm("Are you sure you want to ProcessAmount!") == true) {
72
		if (confirm("Are you sure you want to ProcessAmount!") == true) {
83
			priceDropId=$(this).data('cashback');
73
			priceDropId=$(this).data('cashback');
84
		var processedamount=$("#" +priceDropId).val();
74
		var processedamount=$("#" +priceDropId).val();
85
		console.log("#" + priceDropId);
75
		console.log("#" + priceDropId);
86
		//alert(processedamount);
76
		// alert(processedamount);
87
		if(processedamount)
77
		if(processedamount)
88
			{
78
			{
89
		console.log(priceDropId);
79
		console.log(priceDropId);
90
		console.log(processedamount);
80
		console.log(processedamount);
91
		loadProcessedamount(priceDropId,processedamount);
81
		loadProcessedamount(priceDropId,processedamount);