Ignore:
Timestamp:
31 May 2012, 20:34:23 (12 years ago)
Author:
Henrik Bettermann
Message:

Update according to r8577 - r8582

File:
1 edited

Legend:

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

    r8567 r8583  
    3838UG_OMIT_MANAGE_FIELDS = ()
    3939UG_OMIT_EDIT_FIELDS = UG_OMIT_MANAGE_FIELDS + ('locked', 'course_admitted',
    40     'student_id', 'screening_score', 'screening_venue', 'notice')
     40    'student_id', 'screening_score', 'screening_venue', 'notice',
     41    'screening_date')
    4142PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + (
    4243    'firstname', 'middlename', 'lastname', 'sex',
     
    4849PG_OMIT_EDIT_FIELDS = PG_OMIT_MANAGE_FIELDS + (
    4950    'locked', 'course_admitted',
    50     'student_id', 'screening_score', 'screening_venue', 'notice')
     51    'student_id', 'screening_score', 'screening_venue', 'notice',
     52    'screening_date')
    5153
    5254class IUGApplicant(IApplicantBaseData):
     
    9698    screening_venue = schema.TextLine(
    9799        title = _(u'Screening Venue'),
     100        required = False,
     101        )
     102    screening_date = schema.TextLine(
     103        title = _(u'Screening Date'),
    98104        required = False,
    99105        )
     
    271277        readonly = False,
    272278        )
     279    screening_date = schema.TextLine(
     280        title = _(u'Screening Date'),
     281        required = False,
     282        )
    273283    screening_score = schema.Int(
    274284        title = _(u'Screening Score'),
     
    361371IPUTMEApplicantEdit[
    362372    'email'].order =  IUGApplicant['email'].order
     373
     374class ICustomApplicantUpdateByRegNo(ICustomApplicant):
     375    """Representation of an applicant.
     376
     377    Skip regular reg_number validation if reg_number is used for finding
     378    the applicant object.
     379    """
     380    reg_number = schema.TextLine(
     381        title = u'Registration Number',
     382        required = False,
     383        )
Note: See TracChangeset for help on using the changeset viewer.