Ignore:
Timestamp:
10 Dec 2013, 06:24:03 (11 years ago)
Author:
Henrik Bettermann
Message:

Implement a special application procedure. This application is meant for supplementary payments by alumni and other persons who are not students of the portal.

Attention: All custom packages have to be adjusted.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r10384 r10831  
    3636from waeup.kofa.schema import PhoneNumber
    3737from waeup.kofa.students.vocabularies import GenderSource, RegNumberSource
    38 from waeup.kofa.university.vocabularies import AppCatSource, CertificateSource
     38from waeup.kofa.university.vocabularies import (
     39    AppCatSource, CertificateSource, SpecialApplicationSource)
    3940
    4041#: Maximum upload size for applicant passport photographs (in bytes)
     
    442443        )
    443444
     445    special_application = schema.Choice(
     446        title = _(u'Special Application'),
     447        source = SpecialApplicationSource(),
     448        required = False,
     449        )
     450
    444451class IApplicant(IApplicantBaseData):
    445452    """An applicant.
     
    497504        readonly = True,
    498505        )
     506    special_application = schema.Choice(
     507        title = _(u'Special Application'),
     508        source = SpecialApplicationSource(),
     509        required = True,
     510        )
    499511
    500512IApplicantEdit['email'].order = IApplicantEdit[
Note: See TracChangeset for help on using the changeset viewer.