Ignore:
Timestamp:
12 Oct 2011, 19:19:43 (13 years ago)
Author:
Henrik Bettermann
Message:

Add entry_mode field which is needed for FUTMinna school fee calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.sirp/trunk/src/waeup/sirp/students/interfaces.py

    r6860 r6874  
    66from waeup.sirp.interfaces import IWAeUPObject
    77from waeup.sirp.schema import TextLineChoice
    8 from waeup.sirp.university.vocabularies import CourseSource
     8from waeup.sirp.university.vocabularies import CourseSource, study_modes
    99from waeup.sirp.students.vocabularies import (
    1010  CertificateSource, academic_sessions_vocab, verdicts, StudyLevelSource,
     
    131131        required = False,
    132132        readonly = True,
     133        )
     134
     135    entry_mode = schema.Choice(
     136        title = u'Study Mode',
     137        vocabulary = study_modes,
     138        default = u'ug_ft',
     139        required = True,
     140        readonly = False,
    133141        )
    134142
Note: See TracChangeset for help on using the changeset viewer.