added code to remove deposit or withdraw requests if response is empty

This commit is contained in:
Abhishek Sinha 2020-04-01 18:18:42 +05:30
parent 8c7fa7a25d
commit 051bd8ecc0

View File

@ -13381,6 +13381,17 @@
responseData: response_from_server
});
} else {
document.getElementById("deposits_list").innerHTML=
`<table id="deposits_list" class="myTable">
<tbody><tr class="header">
<th>User UPI Id</th>
<th>User FLO Id</th>
<th>Withdrawal Amount</th>
<th>Currency</th>
<th>Txid</th>
<th>Action</th>
</tr>
</tbody></table>`;
showMessage(`INFO: No pending deposits found.`);
}
}
@ -13395,6 +13406,17 @@
responseData: response_from_server
});
} else {
document.getElementById("withdraws_list").innerHTML =
`<table id="withdraws_list" class="myTable">
<tbody><tr class="header">
<th>User UPI Id</th>
<th>User FLO Id</th>
<th>Withdrawal Amount</th>
<th>Currency</th>
<th>Txid</th>
<th>Action</th>
</tr>
</tbody></table>`;
showMessage(`INFO: No pending withdrawals found.`);
}
}
@ -13923,7 +13945,7 @@
return true;
} else if(n<=20) {
} else if(n<=2) {
validateTxidInBlockchain();
n++;
} else {