assignment: Fix period ends in email.
This commit is contained in:
		
							parent
							
								
									b0263491a0
								
							
						
					
					
						commit
						c9a76ea17f
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -65,3 +65,5 @@ class AssignmentForm(forms.ModelForm): | |||
| 
 | ||||
|         if self.cleaned_data['period_end_type'] == 'a specific past date' and not self.cleaned_data['period_ends']: | ||||
|             raise ValidationError('This field is required') | ||||
| 
 | ||||
|         return self.cleaned_data['period_ends'] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue