Changeset 14486
- Timestamp:
- 1 Feb 2017, 06:46:52 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r14472 r14486 228 228 if self.target is not None and self.target == 'trans': 229 229 form_fields = grok.AutoFields(ITranscriptApplicant).omit( 230 'locked', 'suspended' )230 'locked', 'suspended', 'reg_number') 231 231 form_fields['dispatch_address'].custom_widget = BytesDisplayWidget 232 232 form_fields['perm_address'].custom_widget = BytesDisplayWidget … … 234 234 if self.target is not None and self.target == 'cert': 235 235 form_fields = grok.AutoFields(ICertificateRequest).omit( 236 'locked', 'suspended' )236 'locked', 'suspended', 'reg_number') 237 237 form_fields['dispatch_address'].custom_widget = BytesDisplayWidget 238 238 form_fields['perm_address'].custom_widget = BytesDisplayWidget -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r14472 r14486 493 493 494 494 reg_number = TextLineChoice( 495 title = _(u' Registration Number'),495 title = _(u'Kofa Registration Number'), 496 496 readonly = False, 497 497 required = True, … … 517 517 title = _(u'Matriculation Number'), 518 518 readonly = False, 519 required = False,519 required = True, 520 520 ) 521 521 … … 588 588 title = _(u'Course of Study / Degree'), 589 589 source = CertificateSource(), 590 required = False,590 required = True, 591 591 readonly = False, 592 592 ) … … 646 646 647 647 reg_number = TextLineChoice( 648 title = _(u' Registration Number'),648 title = _(u'Kofa Registration Number'), 649 649 readonly = False, 650 650 required = True, … … 670 670 title = _(u'Matriculation Number'), 671 671 readonly = False, 672 required = False,672 required = True, 673 673 ) 674 674 … … 734 734 title = _(u'Course of Study / Degree'), 735 735 source = CertificateSource(), 736 required = False,736 required = True, 737 737 readonly = False, 738 738 ) -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests/test_browser.py
r14371 r14486 242 242 self.browser.getControl(name="form.lastname").value = 'Merkel' 243 243 self.browser.getControl(name="form.no_copies").value = ['3'] 244 self.browser.getControl(name="form.course_studied").value = ['CERT1'] 245 self.browser.getControl(name="form.matric_number").value = '234' 244 246 self.browser.getControl("Save").click() 245 247 self.browser.getControl("Add online payment ticket").click()
Note: See TracChangeset for help on using the changeset viewer.