mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Minor fix
This commit is contained in:
		@@ -818,7 +818,7 @@ class WEIUpdateRegistrationView(ProtectQuerysetMixin, LoginRequiredMixin, Update
 | 
			
		||||
                form.fields["deposit_type"].required = True
 | 
			
		||||
                form.fields["deposit_type"].help_text = _("Choose how you want to pay the deposit")
 | 
			
		||||
 | 
			
		||||
        if not self.object.first_year and self.object.deposit_type == 'check':
 | 
			
		||||
        if not self.object.first_year and self.request.user.has_perm("wei.change_weiregistration_deposit_given") and self.object.deposit_type == 'check':
 | 
			
		||||
            form.fields["deposit_given"] = forms.BooleanField(
 | 
			
		||||
                required=False,
 | 
			
		||||
                initial=self.object.deposit_given,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user