From 1f73ed2a2e1e19b8c459ea71fc49c0832016d759 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Sun, 6 Aug 2017 19:03:39 +0000 Subject: [PATCH] Changed to allow unlimited hour-to-hour Stand Time. --- js/transaction.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/js/transaction.js b/js/transaction.js index f237bb5..3f914ba 100644 --- a/js/transaction.js +++ b/js/transaction.js @@ -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