Subversion Repositories SmartDukaan

Rev

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

Rev 24365 Rev 24367
Line 37... Line 37...
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(!isInvestmentOk && $('#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!! 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>"
46
					+ "<dt>Total Invested Amount</dt><dd>-" + totalInvestedAmount +"</dd>"
46
					+ "<dt>Total Invested Amount</dt><dd>-" + totalInvestedAmount +"</dd>"
47
					+  '<dt>Investment Amount Short By</dt><dd class="text-danger lead">-  ' + shortAmount+'</dd></dl>'
47
					+  '<dt>Investment Amount Short By</dt><dd class="text-danger lead">-  ' + shortAmount+'</dd></dl>'
48
			 		+ '<pre class="text-danger">To unblock your Billing, please add Rs.<strong>' + minAmountToBeAdded + 'to wallet </strong></pre>',
48
			 		+ '<pre class="text-danger" style="font-size:18px;"><strong>To unblock your Billing, please add Rs.'+ minAmountToBeAdded + ' to wallet immediately.</strong></pre>',
49
			 	buttons:{
49
			 	buttons:{
50
			 			cancel: {
50
			 			cancel: {
51
			 				label: "OK",
51
			 				label: "OK",
52
			 		        className: 'btn-primary'
52
			 		        className: 'btn-primary'
53
			 			}
53
			 			}