Browse Source

Improves the output feedback.

devel
Jonathan Rosenbaum 7 years ago
parent
commit
09cc2893a4
  1. 12
      js/transaction.js

12
js/transaction.js

@ -1002,9 +1002,7 @@ $(function() {
$("#redeemable_hours").spinner("disable"); $("#redeemable_hours").spinner("disable");
} }
} }
} }
}); // volunteers post }); // volunteers post
@ -1022,13 +1020,15 @@ $(function() {
if ($("#redeemable_hours").data("ui-spinner")) { if ($("#redeemable_hours").data("ui-spinner")) {
$("#redeemable_hours").spinner("disable"); $("#redeemable_hours").spinner("disable");
} }
amount.val(""); amount.val("");
$("#stand_time_total").empty(); if (!$("#paid_member").text()) {
$("#stand_time_total").text("Free Stand Time is good to " + end.toDateString());
}
} else if ( now.getTime() > end.getTime() ) { } else if ( now.getTime() > end.getTime() ) {
console.log("Free Stand Time is now over"); console.log("Free Stand Time is now over");
} }
} } // end Free stand time
}); });
} }

Loading…
Cancel
Save