mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 01:12:08 +01:00 
			
		
		
		
	Deposit check logic changed
This commit is contained in:
		@@ -44,7 +44,7 @@ class WEIRegistrationForm(forms.ModelForm):
 | 
			
		||||
        fields = [
 | 
			
		||||
            'user', 'soge_credit', 'birth_date', 'gender', 'clothing_size',
 | 
			
		||||
            'health_issues', 'emergency_contact_name', 'emergency_contact_phone',
 | 
			
		||||
            'first_year', 'information_json', 'deposit_check', 'deposit_type'
 | 
			
		||||
            'first_year', 'information_json', 'deposit_given', 'deposit_type'
 | 
			
		||||
        ]
 | 
			
		||||
        widgets = {
 | 
			
		||||
            "user": Autocomplete(
 | 
			
		||||
@@ -59,7 +59,7 @@ class WEIRegistrationForm(forms.ModelForm):
 | 
			
		||||
                'minDate': '1900-01-01',
 | 
			
		||||
                'maxDate': '2100-01-01'
 | 
			
		||||
            }),
 | 
			
		||||
            "deposit_check": forms.BooleanField(
 | 
			
		||||
            "deposit_given": forms.BooleanField(
 | 
			
		||||
                required=False,
 | 
			
		||||
            ),
 | 
			
		||||
            "deposit_type": forms.RadioSelect(),
 | 
			
		||||
@@ -161,7 +161,7 @@ class WEIMembership1AForm(WEIMembershipForm):
 | 
			
		||||
    """
 | 
			
		||||
    Used to confirm registrations of first year members without choosing a bus now.
 | 
			
		||||
    """
 | 
			
		||||
    deposit_check = None
 | 
			
		||||
    deposit_given = None
 | 
			
		||||
    roles = None
 | 
			
		||||
 | 
			
		||||
    def clean(self):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user