This commit is contained in:
Nweni
2017-07-02 11:22:49 +06:30
parent 97c70fb72b
commit acca5b5a1d
5 changed files with 35 additions and 22 deletions

View File

@@ -334,6 +334,7 @@ $( document ).ready(function() {
});
$('#pay').click(function() {
$('#pay').text("Processing, Please wait!")
if($('#balance').text() > 0){
alert(" Insufficient Amount!")
}else{
@@ -351,6 +352,7 @@ $( document ).ready(function() {
if($('#balance').text() < 0){
alert("Changed amount " + $('#balance').text() * (-1) )
}else{
$('#pay').text("Pay")
alert("Thank you")
}