Subversion Repositories SmartDukaan

Rev

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

Rev 24357 Rev 24365
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 showAlert !="undefined" && showAlert && $('#order-details').length == 0) {
40
		if(!isInvestmentOk && $('#order-details').length == 0) {
41
			var investmentDialog = bootbox.dialog({
41
			var investmentDialog = bootbox.dialog({
42
				title: '<h3	class="text-danger">ATTENTION!! BILLING THROUGH APP MAY BE BLOCKED DUE TO LOW INVESTMENTS!</h3>',
42
				title: '<h3	class="text-danger">ATTENTION!! BILLING 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>"