Changeset 15521


Ignore:
Timestamp:
25 Jul 2019, 20:38:32 (5 years ago)
Author:
Henrik Bettermann
Message:

Let dsh2019 use same form as ptee2018 for application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py

    r15503 r15521  
    281281            for field in PG_OMIT_DISPLAY_FIELDS:
    282282                form_fields = form_fields.omit(field)
    283         elif self.target is not None and self.target in ('ptee',):
     283        elif self.target is not None and self.target in ('ptee','dsh',):
    284284            for field in PTEE_OMIT_DISPLAY_FIELDS:
    285285                form_fields = form_fields.omit(field)
     
    374374            for field in PG_OMIT_PDF_FIELDS:
    375375                form_fields = form_fields.omit(field)
    376         elif self.target is not None and self.target in ('ptee',):
     376        elif self.target is not None and self.target in ('ptee', 'dsh',):
    377377            for field in PTEE_OMIT_PDF_FIELDS:
    378378                form_fields = form_fields.omit(field)
     
    412412            for field in PG_OMIT_MANAGE_FIELDS:
    413413                form_fields = form_fields.omit(field)
    414         elif self.target is not None and self.target in ('ptee',):
     414        elif self.target is not None and self.target in ('ptee', 'dsh',):
    415415            for field in PTEE_OMIT_MANAGE_FIELDS:
    416416                form_fields = form_fields.omit(field)
     
    524524            for field in PG_OMIT_EDIT_FIELDS:
    525525                form_fields = form_fields.omit(field)
    526         elif self.target is not None and self.target in ('ptee',):
     526        elif self.target is not None and self.target in ('ptee','dsh',):
    527527            for field in PTEE_OMIT_EDIT_FIELDS:
    528528                form_fields = form_fields.omit(field)
Note: See TracChangeset for help on using the changeset viewer.