mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-31 08:55:36 -04:00 
			
		
		
		
	Adds a new definition, stand_time_value.
This commit is contained in:
		
							parent
							
								
									0ef4138aa4
								
							
						
					
					
						commit
						6a89e5d675
					
				| @ -75,6 +75,7 @@ define("VOLUNTEER_HOUR_VALUE",8); | ||||
| define("VOLUNTEER_DISCOUNT",25); | ||||
| define("SPECIAL_VOLUNTEER_HOURS_QUALIFICATION",100); | ||||
| define("SPECIAL_VOLUNTEER_DISCOUNT",50); | ||||
| define("STAND_TIME_VALUE",10); | ||||
| 
 | ||||
| // Determines the behaviour of Bicycles (transaction_type_id) for volunteer to earn-a-bike purchases
 | ||||
| define("EARN_A_BIKE_LIMIT",1); | ||||
|  | ||||
| @ -20,6 +20,7 @@ $max_bike_earned = MAX_BIKE_EARNED; | ||||
| $volunteer_hour_value = VOLUNTEER_HOUR_VALUE; | ||||
| $special_volunteer_hours_qualification = SPECIAL_VOLUNTEER_HOURS_QUALIFICATION; | ||||
| $special_volunteer_discount = SPECIAL_VOLUNTEER_DISCOUNT; | ||||
| $stand_time_value = STAND_TIME_VALUE; | ||||
| 
 | ||||
| 	// Is there a current shop?
 | ||||
| 	if(isset($_POST['shop_exist'])) { | ||||
| @ -150,6 +151,7 @@ $special_volunteer_discount = SPECIAL_VOLUNTEER_DISCOUNT; | ||||
| 		$result3["sweat_equity_limit"] = $sweat_equity_limit; | ||||
| 		$result3["special_volunteer_hours_qualification"] = $special_volunteer_hours_qualification; | ||||
| 		$result3["special_volunteer_discount"] = $special_volunteer_discount; | ||||
| 		$result3["stand_time_value"] = $stand_time_value; | ||||
| 
 | ||||
| 		$result = (object)array_merge((array)$result, (array)$result2, (array)$result3); | ||||
| 		echo json_encode($result); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user