mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-23 01:03:23 -05:00
Changed to allow unlimited hour-to-hour Stand Time.
This commit is contained in:
parent
2d264773ed
commit
1f73ed2a2e
@ -649,7 +649,7 @@ $(function() {
|
|||||||
if (price >= redeemable_value) {
|
if (price >= redeemable_value) {
|
||||||
|
|
||||||
// discount is now applied if transaction is over special_volunteer_hours_qualification
|
// 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;
|
var value_to_apply_discount, difference, hours_applied_with_value;
|
||||||
|
|
||||||
@ -779,7 +779,8 @@ $(function() {
|
|||||||
$("#volunteer_hours").text(history.redeemed_hours).show();
|
$("#volunteer_hours").text(history.redeemed_hours).show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}); // show original price
|
}); // show original price
|
||||||
|
Loading…
x
Reference in New Issue
Block a user