Ignore:
Timestamp:
3 Apr 2016, 06:30:33 (9 years ago)
Author:
Henrik Bettermann
Message:

Add application_number to student base data.

File:
1 edited

Legend:

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

    r13770 r13795  
    2222from zope.component import getUtility
    2323from waeup.kofa.interfaces import IKofaObject
    24 from waeup.kofa.students.vocabularies import StudyLevelSource
    25 from waeup.kofa.schema import PhoneNumber, FormattedDate
     24from waeup.kofa.students.vocabularies import (
     25    StudyLevelSource, contextual_reg_num_source
     26    )
     27from waeup.kofa.schema import PhoneNumber, FormattedDate, TextLineChoice
    2628from kofacustom.nigeria.interfaces import LGASource
    2729from kofacustom.nigeria.students.interfaces import (
     
    3941    """
    4042
     43    reg_number = TextLineChoice(
     44        title = _(u'JAMB Registration Number'),
     45        required = False,
     46        readonly = False,
     47        source = contextual_reg_num_source,
     48        )
     49
     50    application_number = schema.TextLine(
     51        title = _(u'Application Number'),
     52        required = False,
     53        readonly = False,
     54        )
     55
     56ICustomStudentBase['reg_number'].order = INigeriaStudentBase[
     57    'reg_number'].order
     58
     59ICustomStudentBase['application_number'].order = ICustomStudentBase[
     60    'reg_number'].order
     61
     62
    4163class ICustomStudentPersonal(INigeriaStudentPersonal):
    4264    """Student personal data.
Note: See TracChangeset for help on using the changeset viewer.