Subversion Repositories SmartDukaan

Rev

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

Rev 23920 Rev 23921
Line 27... Line 27...
27
		internalServerErrorAlert(jqxhr);
27
		internalServerErrorAlert(jqxhr);
28
	}
28
	}
29
});
29
});
30
 
30
 
31
$( document ).ajaxStart(function() {
31
$( document ).ajaxStart(function() {
32
		if(typeof showAlert !="undefined" && showAlert) {
32
		if(typeof showAlert !="undefined" && showAlert && $('#order-details').length == 0) {
33
			bootbox.dialog({
33
			bootbox.dialog({
34
				title: '<h2	class="text-danger">ATTENTION! LOW INVESTMENT ALERT!</h2>',
34
				title: '<h3	class="text-danger">ATTENTION! LOW INVESTMENT ALERT!</h3>',
35
				message : "<h3>Dear Partner, your investment is below 90%</h4>"
35
				message : "<h3>Dear Partner, your investment is below 90%</h3>"
36
					+  "<dl>"
36
					+  "<dl>"
37
					+  "<dt>Total Investment Required</dt><dd>- " + minimumInvestmentAmount +"</dd>"
37
					+  "<dt>Total Investment Required</dt><dd>- " + minimumInvestmentAmount +"</dd>"
38
					+ "<dt>Total Invested Amount</dt><dd>- " + totalInvestedAmount +"</dd>"
38
					+ "<dt>Total Invested Amount</dt><dd>-" + totalInvestedAmount +"</dd>"
39
					+  '<dt>Investment Amount Short By</dt><dd class="large text-danger">- ' + shortAmount+'</dd></dl>'
39
					+  '<dt>Investment Amount Short By</dt><dd class="text-danger lead">- ' + shortAmount+'</dd></dl>'
40
			 		+ "It is required to ensure minimum investment with us!"
-
 
41
			 		+ '<br><span class="text-info">Note - Please login again if your wallet/investments are updated!</span>',
40
			 		+ '<pre class="text-danger">Please ensure minimum investment with us within 48 hours!\nNote - Please login again if your wallet/investments are updated!</pre>',
42
			 	buttons:{
41
			 	buttons:{
43
			 			cancel: {
42
			 			cancel: {
44
			 				label: "OK",
43
			 				label: "OK",
45
			 		        className: 'btn-primary'
44
			 		        className: 'btn-primary'
46
			 			}
45
			 			}
47
			 		}
46
			 		},
-
 
47
			 	
48
			});
48
			});
49
		}
49
		}
50
	});
50
	});
51
 
51
 
52
 
52