Browse Source

Merge branch 'develop' of gimli.ms.mff.cuni.cz:/akce/mam/git/mamweb into develop

export_seznamu_prednasek
parent
commit
0b28c09ef7
  1. 3
      personalni/views.py

3
personalni/views.py

@ -144,7 +144,8 @@ def resitelEditView(request):
osoba_edit.datum_narozeni = fcd['datum_narozeni']
## Změny v osobě s podmínkami
if fcd.get('spam',False):
osoba_edit.datum_souhlasu_zasilani = date.today()
if not osoba_edit.datum_souhlasu_zasilani:
osoba_edit.datum_souhlasu_zasilani = date.today()
else:
osoba_edit.datum_souhlasu_zasilani = None
if fcd.get('stat','') in ('CZ','SK'):

Loading…
Cancel
Save