Changeset 7436 for main/waeup.sirp/trunk/src/waeup/sirp
- Timestamp:
- 22 Dec 2011, 08:27:28 (13 years ago)
- Location:
- main/waeup.sirp/trunk/src/waeup/sirp/applicants
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/src/waeup/sirp/applicants/applicant.py
r7421 r7436 114 114 student['studycourse'].entry_session = self.__parent__.year 115 115 student['studycourse'].current_session = self.__parent__.year 116 student['studycourse'].current_level = self.__parent__.entry_level 116 117 self._copyPassportImage(student) 117 118 # Update the catalog -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/interfaces.py
r7376 r7436 31 31 from waeup.sirp.interfaces import ( 32 32 ISIRPObject, year_range, validate_email, academic_sessions_vocab) 33 from waeup.sirp.university.vocabularies import application_categories 33 from waeup.sirp.university.vocabularies import ( 34 application_categories, course_levels) 34 35 from waeup.sirp.students.vocabularies import ( 35 lgas_vocab, CertificateSource, GenderSource, 36 ) 36 lgas_vocab, CertificateSource, GenderSource) 37 37 from waeup.sirp.applicants.vocabularies import ( 38 application_types_vocab, application_pins_vocab, 39 AppCatCertificateSource, 40 ) 38 application_types_vocab, application_pins_vocab, 39 AppCatCertificateSource) 41 40 from waeup.sirp.payments.interfaces import IOnlinePayment 42 41 … … 156 155 ) 157 156 157 entry_level = schema.Choice( 158 title = u'Entry Level', 159 vocabulary = course_levels, 160 default = 100, 161 required = True, 162 ) 163 158 164 year = schema.Choice( 159 165 title = u'Year of entrance', -
main/waeup.sirp/trunk/src/waeup/sirp/applicants/tests/test_browser.py
r7434 r7436 93 93 certificate.code = 'CERT1' 94 94 certificate.application_category = 'basic' 95 certificate.start_level = 100 96 certificate.end_level = 500 95 97 self.certificate = certificate 96 98 self.app['faculties']['fac1'] = Faculty()
Note: See TracChangeset for help on using the changeset viewer.