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,7 +144,8 @@ def resitelEditView(request):
|
||||||
osoba_edit.datum_narozeni = fcd['datum_narozeni']
|
osoba_edit.datum_narozeni = fcd['datum_narozeni']
|
||||||
## Změny v osobě s podmínkami
|
## Změny v osobě s podmínkami
|
||||||
if fcd.get('spam',False):
|
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:
|
else:
|
||||||
osoba_edit.datum_souhlasu_zasilani = None
|
osoba_edit.datum_souhlasu_zasilani = None
|
||||||
if fcd.get('stat','') in ('CZ','SK'):
|
if fcd.get('stat','') in ('CZ','SK'):
|
||||||
|
|
Loading…
Reference in a new issue