Changeset 9465 for main/waeup.fceokene/trunk/src
- Timestamp:
- 30 Oct 2012, 12:25:09 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
- Files:
-
- 3 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
r9463 r9465 27 27 SimpleKofaVocabulary, academic_sessions_vocab, validate_email) 28 28 from waeup.kofa.schema import FormattedDate, TextLineChoice 29 from waeup.kofa.schoolgrades import ResultEntryField 29 30 from waeup.kofa.students.vocabularies import nats_vocab, GenderSource 30 31 from waeup.kofa.applicants.interfaces import contextual_reg_num_source … … 60 61 """ 61 62 63 nationality = schema.Choice( 64 source = nats_vocab, 65 title = _(u'Nationality'), 66 required = True, 67 ) 68 lga = schema.Choice( 69 source = LGASource(), 70 title = _(u'State/LGA (Nigerians only)'), 71 required = False, 72 ) 73 #perm_address = schema.Text( 74 # title = _(u'Permanent Address'), 75 # required = False, 76 # ) 77 course1 = schema.Choice( 78 title = _(u'1st Choice Course of Study'), 79 source = AppCatCertificateSource(), 80 required = True, 81 ) 82 course2 = schema.Choice( 83 title = _(u'2nd Choice Course of Study'), 84 source = AppCatCertificateSource(), 85 required = False, 86 ) 62 87 olevel_type = schema.Choice( 63 88 title = _(u'Qualification Obtained'), 64 89 required = False, 65 90 readonly = False, 66 vocabulary = high_qual, 67 ) 68 olevel_matric_no = schema.TextLine( 69 title = _(u'Former Matric Number'), 70 required = False, 71 readonly = False, 72 ) 73 olevel_degree = schema.Choice( 74 title = _(u'Class of Degree'), 75 required = False, 76 readonly = False, 77 vocabulary = high_grade, 91 vocabulary = exam_types, 78 92 ) 79 93 olevel_school = schema.TextLine( … … 82 96 readonly = False, 83 97 ) 84 olevel_session = schema.TextLine( 98 olevel_exam_number = schema.TextLine( 99 title = _(u'Exam Number'), 100 required = False, 101 readonly = False, 102 ) 103 olevel_exam_date = FormattedDate( 104 title = _(u'Exam Date'), 105 required = False, 106 readonly = False, 107 show_year = True, 108 ) 109 olevel_results = schema.List( 110 title = _(u'Exam Results'), 111 value_type = ResultEntryField(), 112 required = False, 113 readonly = False, 114 default = [], 115 ) 116 hq_type = schema.Choice( 117 title = _(u'Qualification Obtained'), 118 required = False, 119 readonly = False, 120 vocabulary = high_qual, 121 ) 122 hq_matric_no = schema.TextLine( 123 title = _(u'Former Matric Number'), 124 required = False, 125 readonly = False, 126 ) 127 hq_degree = schema.Choice( 128 title = _(u'Class of Degree'), 129 required = False, 130 readonly = False, 131 vocabulary = high_grade, 132 ) 133 hq_school = schema.TextLine( 134 title = _(u'Institution Attended'), 135 required = False, 136 readonly = False, 137 ) 138 hq_session = schema.TextLine( 85 139 title = _(u'Years Attended'), 86 140 required = False, 87 141 readonly = False, 88 142 ) 89 olevel_disc = schema.TextLine(143 hq_disc = schema.TextLine( 90 144 title = _(u'Discipline'), 91 145 required = False, 92 146 readonly = False, 147 ) 148 jamb_subjects = schema.Text( 149 title = _(u'Subjects and Scores'), 150 required = False, 151 ) 152 jamb_score = schema.Int( 153 title = _(u'Total JAMB Score'), 154 required = False, 155 ) 156 notice = schema.Text( 157 title = _(u'Notice'), 158 required = False, 159 ) 160 screening_venue = schema.TextLine( 161 title = _(u'Screening Venue'), 162 required = False, 163 ) 164 screening_date = schema.TextLine( 165 title = _(u'Screening Date'), 166 required = False, 167 ) 168 screening_score = schema.Int( 169 title = _(u'Screening Score (%)'), 170 required = False, 171 ) 172 aggregate = schema.Int( 173 title = _(u'Aggregate Score (%)'), 174 description = _(u'(average of relative JAMB and PUTME scores)'), 175 required = False, 176 ) 177 result_uploaded = schema.Bool( 178 title = _(u'Result uploaded'), 179 default = False, 180 ) 181 student_id = schema.TextLine( 182 title = _(u'Student Id'), 183 required = False, 184 readonly = False, 185 ) 186 course_admitted = schema.Choice( 187 title = _(u'Admitted Course of Study'), 188 source = CertificateSource(), 189 required = False, 190 ) 191 locked = schema.Bool( 192 title = _(u'Form locked'), 193 default = False, 93 194 ) 94 195
Note: See TracChangeset for help on using the changeset viewer.