Merge branch 'develop' of gimli.ms.mff.cuni.cz:/akce/mam/git/mamweb into develop
This commit is contained in:
		
						commit
						0b28c09ef7
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -144,6 +144,7 @@ def resitelEditView(request): | |||
| 			osoba_edit.datum_narozeni = fcd['datum_narozeni'] | ||||
| 			## Změny v osobě s podmínkami | ||||
| 			if fcd.get('spam',False): | ||||
| 				if not osoba_edit.datum_souhlasu_zasilani: | ||||
| 					osoba_edit.datum_souhlasu_zasilani = date.today() | ||||
| 			else: | ||||
| 				osoba_edit.datum_souhlasu_zasilani = None | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue