Update
This commit is contained in:
@@ -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")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user