Changeset 13819 for main


Ignore:
Timestamp:
8 Apr 2016, 15:54:59 (9 years ago)
Author:
Henrik Bettermann
Message:

Change IUnibenRegistration.

Location:
main/waeup.uniben/trunk/src/waeup/uniben
Files:
3 edited

Legend:

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

    r13814 r13819  
    104104        )
    105105
    106     #matric_number = schema.TextLine(
    107     #    title = _(u'Matriculation Number'),
    108     #    readonly = False,
    109     #    required = False,
    110     #    )
    111 
    112     date_of_birth = FormattedDate(
    113         title = _(u'Date of Birth'),
    114         required = False,
    115         #date_format = u'%d/%m/%Y', # Use grok-instance-wide default
    116         show_year = True,
    117         )
    118 
    119     place_of_birth = schema.TextLine(
    120         title = _(u'Place of Birth'),
    121         readonly = False,
    122         required = False,
     106    sex = schema.Choice(
     107        title = _(u'Sex'),
     108        source = GenderSource(),
     109        required = True,
    123110        )
    124111
     
    141128        )
    142129
    143     perm_address = schema.Text(
    144         title = _(u'Current Local Address'),
     130    #perm_address = schema.Text(
     131    #    title = _(u'Current Local Address'),
     132    #    required = False,
     133    #    readonly = False,
     134    #    )
     135
     136    institution = schema.TextLine(
     137        title = _(u'Institution/Organisation'),
     138        required = False,
     139        readonly = False,
     140        )
     141
     142    lga = schema.Choice(
     143        source = LGASource(),
     144        title = _(u'State/LGA'),
     145        required = False,
     146        )
     147
     148    city = schema.TextLine(
     149        title = _(u'City'),
    145150        required = False,
    146151        readonly = False,
  • main/waeup.uniben/trunk/src/waeup/uniben/applicants/tests/test_browser.py

    r13816 r13819  
    243243        self.browser.getControl(name="form.middlename").value = 'Anthony'
    244244        self.browser.getControl(name="form.lastname").value = 'Tester'
    245         self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
    246         #self.browser.getControl(name="form.sex").value = ['m']
     245        #self.browser.getControl(name="form.date_of_birth").value = '09/09/1988'
     246        self.browser.getControl(name="form.sex").value = ['m']
    247247        self.browser.getControl(name="form.email").value = 'xx@yy.zz'
    248248        image = open(SAMPLE_IMAGE, 'rb')
  • main/waeup.uniben/trunk/src/waeup/uniben/utils/utils.py

    r13816 r13819  
    8282        'admission_checking': 'Admission Checking Fee',
    8383        'jupeb': 'JUPEB Examination Fee',
    84         'registration': 'Registration Fee'
     84        'registration': 'Total Registration Fee'
    8585        }
    8686
Note: See TracChangeset for help on using the changeset viewer.