Improves the output feedback.

This commit is contained in:
Jonathan Rosenbaum
2017-08-06 07:16:55 +00:00
parent a084161d03
commit 09cc2893a4
+4 -4
View File
@@ -1004,8 +1004,6 @@ $(function() {
} }
} }
}); // volunteers post }); // volunteers post
// Free stand time use for 30 days if purchased bike recently // Free stand time use for 30 days if purchased bike recently
@@ -1023,12 +1021,14 @@ $(function() {
$("#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
}); });
} }