This closes #78 and closes #80.

What I thought was a desired equitable behavior for eab was actually a bug.  Now behavior is predictable. Only checks for 0.00 and 0, so 0.0 would create an issue, but unlikely to happen.
This commit is contained in:
Jonathan Rosenbaum
2018-12-21 07:26:42 +00:00
parent ca4085109c
commit 2380d6a6d4
2 changed files with 9 additions and 8 deletions
-5
View File
@@ -88,11 +88,6 @@ define("SPECIAL_VOLUNTEER_DISCOUNT",50); // PERCENTAGE
// e.g. for sweat equity limit of $200 for contact_id 500: array(500 => 200)
$custom_sweat_equity_limit = array();
// Determines the behaviour of Bicycles (transaction_type_id) for volunteer to earn-a-bike purchases.
// Keeping things equitable, if a patron decides to purchase a bike, rather than earning it,
// that counts to the EAB limit for the year.
define("EARN_A_BIKE_LIMIT",1);
// Determine if stand time behaviour will be based on the SWEAT_EQUITY_LIMIT with discounts applied,
// or 1 to 1 (1hr of volunteering === 1hr of free stand time) regardless of the SWEAT_EQUITY_LIMIT
define("REDEEM_ONE_TO_ONE", true);