mirror of
				https://github.com/fspc/Yellow-Bike-Database.git
				synced 2025-10-30 16:35:35 -04:00 
			
		
		
		
	Realized that having readonly on membership may prevent a patron from renewing slightly earlier, so reverted.
* Could allow renewal perhaps 2 months before, and turn off readonly, as a feature.
This commit is contained in:
		
							parent
							
								
									2b5c07665b
								
							
						
					
					
						commit
						f95febd851
					
				| @ -869,14 +869,14 @@ $(function() { | ||||
| 
 | ||||
| 					//make an exception for an actual member for a Membership transaction
 | ||||
| 					if ($("#transaction_type").val() === "Memberships") { | ||||
| 						amount.removeAttr("readonly"); | ||||
| 						//amount.removeAttr("readonly");
 | ||||
| 					} | ||||
| 					if (membership_obj.expiration_date) { | ||||
| 						var exp = membership_obj.expiration_date; | ||||
| 						expiration_date = new Date(exp.split("-").toString()); | ||||
| 						if (d < expiration_date && $("#transaction_type").val() === "Memberships") {	 | ||||
| 							membership_transaction = true; | ||||
| 							amount.attr("readonly", "readonly"); | ||||
| 							//amount.attr("readonly", "readonly");
 | ||||
| 						} | ||||
| 					} | ||||
| 										 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user