|
|
@ -22,7 +22,7 @@ class ProjectForm(FdbForm): |
|
|
|
class Meta: |
|
|
|
model = Project |
|
|
|
exclude = ('pid', 'granted', 'granted_date', 'realname', 'email',\ |
|
|
|
'end_mail_send', 'status', 'persons') |
|
|
|
'end_mail_send', 'status', 'persons', 'survey_mail_date') |
|
|
|
widgets = {'start': AdminDateWidget(), |
|
|
|
'end': AdminDateWidget(),} |
|
|
|
|
|
|
@ -37,7 +37,7 @@ class ExternForm(FdbForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Extern |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'service_id') |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'service_id', 'survey_mail_date') |
|
|
|
|
|
|
|
INTERN_CHOICES = {'PRO': 'Projektsteckbrief', |
|
|
|
'HON': 'Ehrenamtsbescheinigung, Akkreditierung oder Redaktionsbestätigung', |
|
|
@ -49,13 +49,13 @@ class InternForm(FdbForm): |
|
|
|
|
|
|
|
class Meta: |
|
|
|
model = Volunteer |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send') |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'survey_mail_date') |
|
|
|
|
|
|
|
class TravelForm(FdbForm): |
|
|
|
# TODO: add some javascript to show/hide other-field |
|
|
|
class Meta: |
|
|
|
model = Travel |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email',) |
|
|
|
exclude = ('granted', 'granted_date', 'survey_mail_send', 'realname', 'email', 'survey_mail_date') |
|
|
|
widgets = {'checkin': AdminDateWidget(), |
|
|
|
'checkout': AdminDateWidget(),} |
|
|
|
|
|
|
|