| 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(typeof showAlert !="undefined" && showAlert && $('#order-details').length == 0) {
|
40 |
if(typeof showAlert !="undefined" && showAlert && $('#order-details').length == 0) {
|
| 41 |
var investmentDialog = bootbox.dialog({
|
41 |
var investmentDialog = bootbox.dialog({
|
| 42 |
title: '<h3 class="text-danger">ATTENTION! LOW INVESTMENT ALERT!</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 investment is below 90%</h3>"
|
43 |
message : "<h3>Dear Partner, your investments are low by " + shortPercentage + "</h3>"
|
| 44 |
+ "<dl>"
|
44 |
+ "<dl>"
|
| 45 |
+ "<dt>Total Investment Required</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">Please ensure minimum investment with us within 48 hours!\nNote - Please login again if your wallet/investments are updated!</pre>',
|
48 |
+ '<pre class="text-danger">To unblock your Billing, please add Rs.' + <strong>minAmountToBeAdded + 'to wallet </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 |
}
|