Changeset 7618
- Timestamp:
- 9 Feb 2012, 10:55:31 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/students/interfaces.py
r7525 r7618 17 17 ## 18 18 from zope import schema 19 from waeup.sirp.schema import TextLineChoice 19 20 from waeup.sirp.interfaces import SimpleSIRPVocabulary 20 21 from waeup.sirp.students.interfaces import ( 21 22 IStudentBase,IStudentClearance,IStudentPersonal,IStudentNavigation, 22 23 ) 23 from waeup.sirp.students.vocabularies import lgas_vocab, nats_vocab 24 from waeup.sirp.students.vocabularies import ( 25 lgas_vocab, nats_vocab, contextual_reg_num_source) 26 27 class IStudentBase(IStudentBase): 28 """Representation of student base data. 29 30 """ 31 32 reg_number = TextLineChoice( 33 title = u'Registration Number', 34 required = False, 35 readonly = False, 36 source = contextual_reg_num_source, 37 ) 24 38 25 39 class IStudentPersonal(IStudentPersonal): … … 27 41 28 42 """ 29 perm_address = schema.Text(30 title = u'Permanent Address',31 required = False,32 )33 43 34 44 marit_stat = schema.Choice( … … 48 58 title = u'Date of Birth', 49 59 required = False, 50 )51 52 clearance_locked = schema.Bool(53 title = u'Clearance form locked',54 default = False,55 )56 57 clr_code = schema.TextLine(58 title = u'CLR Activation Code',59 default = u'',60 required = False,61 readonly = True,62 60 ) 63 61
Note: See TracChangeset for help on using the changeset viewer.