mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 17:05:36 -04:00 
			
		
		
		
	This improves the explanation in the notes about the history of the eab equity.
This commit is contained in:
		
							parent
							
								
									2380d6a6d4
								
							
						
					
					
						commit
						306a09fc58
					
				| @ -1528,7 +1528,12 @@ $(function() { | ||||
| 				// Here is where equitable behaviour for earned bikes could be turned off/on
 | ||||
| 				// However, it actually was a feature induced bug or undesired depending how you look at it, 
 | ||||
| 				// see #78 and #80, 
 | ||||
| 				// because vhr always became 0 when amount was added if spinner was not used
 | ||||
| 				// because vhr always became 0 when amount was added if spinner was not used if the 
 | ||||
| 				// patron had become volunteer, which at the time made sense, but there
 | ||||
| 				// are exceptions to the rule, and it actually was not fair, but penalized those
 | ||||
| 				// who chose to volunteer and purchase a bike (usually for someone else) without redeeming hours
 | ||||
| 				// and then later redeemed their hours for a bike for themselves, only to find out they had already hit their
 | ||||
| 				// max eab.
 | ||||
| 				var max_bike_earned = 0, maximum_allowable_earned_bikes; | ||||
| 				if ($("#transaction_type").val() === "Bicycles") { | ||||
| 					// hours were redeemed and this is a Bicycle transaction
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user