Changeset 10204 for main/waeup.futminna/trunk/src
- Timestamp:
- 22 May 2013, 19:06:12 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk/src/waeup/futminna/applicants/interfaces.py
r10096 r10204 26 26 from kofacustom.nigeria.applicants.interfaces import ( 27 27 LGASource, 28 high_qual, high_grade, exam_types, 28 29 INigeriaUGApplicant, 29 30 INigeriaApplicantOnlinePayment, … … 36 37 UG_OMIT_MANAGE_FIELDS, 37 38 UG_OMIT_EDIT_FIELDS, 39 PUTME_OMIT_EDIT_FIELDS, 40 PUTME_OMIT_DISPLAY_FIELDS, 41 PUTME_OMIT_PDF_FIELDS, 42 PUTME_OMIT_MANAGE_FIELDS, 43 PUTME_OMIT_EDIT_FIELDS, 38 44 ) 39 40 45 41 46 PG_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS + ('course2',) … … 49 54 from waeup.futminna.interfaces import MessageFactory as _ 50 55 51 class ICustomUGApplicant(I NigeriaUGApplicant):56 class ICustomUGApplicant(IApplicantBaseData): 52 57 """An undergraduate applicant. 53 58 … … 56 61 adding them to the UG_OMIT* tuples. 57 62 """ 63 64 nationality = schema.Choice( 65 source = nats_vocab, 66 title = _(u'Nationality'), 67 required = True, 68 ) 69 lga = schema.Choice( 70 source = LGASource(), 71 title = _(u'State/LGA (Nigerians only)'), 72 required = False, 73 ) 74 perm_address = schema.Text( 75 title = _(u'Permanent Address'), 76 required = False, 77 ) 78 course1 = schema.Choice( 79 title = _(u'1st Choice Course of Study'), 80 source = AppCatCertificateSource(), 81 required = True, 82 ) 83 course2 = schema.Choice( 84 title = _(u'2nd Choice Course of Study'), 85 description = _(u'Comment which explains why applicant must select a 2nd Choice Course of Study.'), 86 source = AppCatCertificateSource(), 87 required = True, 88 ) 89 hq_type = schema.Choice( 90 title = _(u'Qualification Obtained'), 91 required = False, 92 readonly = False, 93 vocabulary = high_qual, 94 ) 95 hq_matric_no = schema.TextLine( 96 title = _(u'Former Matric Number'), 97 required = False, 98 readonly = False, 99 ) 100 hq_degree = schema.Choice( 101 title = _(u'Class of Degree'), 102 required = False, 103 readonly = False, 104 vocabulary = high_grade, 105 ) 106 hq_school = schema.TextLine( 107 title = _(u'Institution Attended'), 108 required = False, 109 readonly = False, 110 ) 111 hq_session = schema.TextLine( 112 title = _(u'Years Attended'), 113 required = False, 114 readonly = False, 115 ) 116 hq_disc = schema.TextLine( 117 title = _(u'Discipline'), 118 required = False, 119 readonly = False, 120 ) 121 jamb_subjects = schema.Text( 122 title = _(u'Subjects and Scores'), 123 required = False, 124 ) 125 jamb_score = schema.Int( 126 title = _(u'Total JAMB Score'), 127 required = False, 128 ) 129 notice = schema.Text( 130 title = _(u'Notice'), 131 required = False, 132 ) 133 screening_venue = schema.TextLine( 134 title = _(u'Screening Venue'), 135 required = False, 136 ) 137 screening_date = schema.TextLine( 138 title = _(u'Screening Date'), 139 required = False, 140 ) 141 screening_score = schema.Int( 142 title = _(u'Screening Score (%)'), 143 required = False, 144 ) 145 aggregate = schema.Int( 146 title = _(u'Aggregate Score (%)'), 147 description = _(u'(average of relative JAMB and PUTME scores)'), 148 required = False, 149 ) 150 result_uploaded = schema.Bool( 151 title = _(u'Result uploaded'), 152 default = False, 153 ) 154 student_id = schema.TextLine( 155 title = _(u'Student Id'), 156 required = False, 157 readonly = False, 158 ) 159 course_admitted = schema.Choice( 160 title = _(u'Admitted Course of Study'), 161 source = CertificateSource(), 162 required = False, 163 ) 164 locked = schema.Bool( 165 title = _(u'Form locked'), 166 default = False, 167 ) 168 58 169 59 170 class ICustomPGApplicant(IApplicantBaseData):
Note: See TracChangeset for help on using the changeset viewer.