Subversion Repositories SmartDukaan

Rev

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

Rev 23919 Rev 23920
Line 29... Line 29...
29
});
29
});
30
 
30
 
31
$( document ).ajaxStart(function() {
31
$( document ).ajaxStart(function() {
32
		if(typeof showAlert !="undefined" && showAlert) {
32
		if(typeof showAlert !="undefined" && showAlert) {
33
			bootbox.dialog({
33
			bootbox.dialog({
34
				title: '<b class="alert alert-danger">Low on Investments Alert</b>',
34
				title: '<h2	class="text-danger">ATTENTION! LOW INVESTMENT ALERT!</h2>',
35
				message : "<h4>Dear Partner, your investment is below 90%</h4>"
35
				message : "<h3>Dear Partner, your investment is below 90%</h4>"
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 alert alert-warning">- ' + shortAmount+'</dd></dl>'
39
					+  '<dt>Investment Amount Short By</dt><dd class="large text-danger">- ' + shortAmount+'</dd></dl>'
40
			 		+ "It is required to ensure minimum investment with us!"
40
			 		+ "It is required to ensure minimum investment with us!"
41
			 		+ '<br><span class="alert alert-info">Note - Please login again if your wallet/investments are updated!</span>',
41
			 		+ '<br><span class="text-info">Note - Please login again if your wallet/investments are updated!</span>',
42
			 	buttons:{
42
			 	buttons:{
43
			 			cancel: {
43
			 			cancel: {
44
			 				label: "OK",
44
			 				label: "OK",
45
			 		        className: 'btn-primary'
45
			 		        className: 'btn-primary'
46
			 			}
46
			 			}