|
|
@ -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'): |
|
|
|