1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-02-22 17:03:22 -05:00

Changed to allow unlimited hour-to-hour Stand Time.

This commit is contained in:
Jonathan Rosenbaum 2017-08-06 19:03:39 +00:00
parent 2d264773ed
commit 1f73ed2a2e

View File

@ -649,7 +649,7 @@ $(function() {
if (price >= redeemable_value) {
// discount is now applied if transaction is over special_volunteer_hours_qualification
if (redeemable_value > obj.sweat_equity_limit) {
if (redeemable_value > obj.sweat_equity_limit && $("#transaction_type").val() !== "Stand Time") {
var value_to_apply_discount, difference, hours_applied_with_value;
@ -779,7 +779,8 @@ $(function() {
$("#volunteer_hours").text(history.redeemed_hours).show();
}
}
});
});
}
}); // show original price