Subversion Repositories SmartDukaan

Rev

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

Rev 24370 Rev 24371
Line 35... Line 35...
35
});
35
});
36
 
36
 
37
$( document ).ajaxStart(function() {
37
$( document ).ajaxStart(function() {
38
		if(typeof loaderDialogObj!="undefined")
38
		if(typeof loaderDialogObj!="undefined")
39
			loaderDialogObj.modal('show');
39
			loaderDialogObj.modal('show');
40
		if(typeof isInvestmentOk != "undefined" && isInvestmentOk!isInvestmentOk && $('#order-details').length == 0) {
40
		if(typeof isInvestmentOk != "undefined" && !isInvestmentOk && $('#order-details').length == 0) {
41
			var investmentDialog = bootbox.dialog({
41
			var investmentDialog = bootbox.dialog({
42
				title: '<h3	class="text-danger">ATTENTION!! ORDERING THROUGH APP MAY BE BLOCKED DUE TO LOW INVESTMENTS!</h3>',
42
				title: '<h3	class="text-danger">ATTENTION!! ORDERING THROUGH APP MAY BE BLOCKED DUE TO LOW INVESTMENTS!</h3>',
43
				message : "<h3>Dear Partner, your investments are low by " + shortPercentage + "%</h3>"
43
				message : "<h3>Dear Partner, your investments are low by " + shortPercentage + "%</h3>"
44
					+  "<dl>"
44
					+  "<dl>"
45
					+  "<dt>Investment Should be</dt><dd>- " + minimumInvestmentAmount +"</dd>"
45
					+  "<dt>Investment Should be</dt><dd>- " + minimumInvestmentAmount +"</dd>"