Ignore:
Timestamp:
27 Jan 2017, 15:50:38 (8 years ago)
Author:
Henrik Bettermann
Message:

Do not allow to edit the registration number.

Add matric_number field.

File:
1 edited

Legend:

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

    r14471 r14472  
    492492        )
    493493
     494    reg_number = TextLineChoice(
     495        title = _(u'Registration Number'),
     496        readonly = False,
     497        required = True,
     498        source = contextual_reg_num_source,
     499        )
     500
    494501    firstname = schema.TextLine(
    495502        title = _(u'First Name'),
     
    507514        )
    508515
    509     reg_number = TextLineChoice(
    510         title = _(u'Registration Number'),
    511         readonly = False,
    512         required = True,
    513         source = contextual_reg_num_source,
     516    matric_number = schema.TextLine(
     517        title = _(u'Matriculation Number'),
     518        readonly = False,
     519        required = False,
    514520        )
    515521
     
    639645        )
    640646
     647    reg_number = TextLineChoice(
     648        title = _(u'Registration Number'),
     649        readonly = False,
     650        required = True,
     651        source = contextual_reg_num_source,
     652        )
     653
    641654    firstname = schema.TextLine(
    642655        title = _(u'First Name'),
     
    654667        )
    655668
    656     reg_number = TextLineChoice(
    657         title = _(u'Registration Number'),
    658         readonly = False,
    659         required = True,
    660         source = contextual_reg_num_source,
     669    matric_number = schema.TextLine(
     670        title = _(u'Matriculation Number'),
     671        readonly = False,
     672        required = False,
    661673        )
    662674
Note: See TracChangeset for help on using the changeset viewer.