Changeset 9463 for main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
- Timestamp:
- 30 Oct 2012, 07:17:59 (12 years ago)
- Location:
- main/waeup.fceokene/trunk/src/waeup/fceokene/applicants
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/interfaces.py
r9059 r9463 36 36 INigeriaApplicantUpdateByRegNo, 37 37 IPUTMEApplicantEdit, 38 OMIT_DISPLAY_FIELDS 38 39 ) 39 40 from waeup.fceokene.interfaces import MessageFactory as _ 40 from waeup.fceokene.payments.interfaces import ICustomOnlinePayment 41 42 BEC_OMIT_DISPLAY_FIELDS = OMIT_DISPLAY_FIELDS 43 BEC_OMIT_PDF_FIELDS = BEC_OMIT_DISPLAY_FIELDS + ('phone',) 44 BEC_OMIT_MANAGE_FIELDS = () 45 BEC_OMIT_EDIT_FIELDS = BEC_OMIT_MANAGE_FIELDS + OMIT_DISPLAY_FIELDS + ( 46 'student_id', 'notice', 47 'screening_score', 48 'screening_venue', 49 'screening_date', 50 #'jamb_subjects', 51 #'jamb_score', 52 'aggregate') 41 53 42 54 class ICustomUGApplicant(INigeriaUGApplicant): … … 45 57 This interface defines the least common multiple of all fields 46 58 in ug application forms. In customized forms, fields can be excluded by 47 adding them to the UG_OMIT* tuples.59 adding them to the OMIT* tuples. 48 60 """ 61 62 olevel_type = schema.Choice( 63 title = _(u'Qualification Obtained'), 64 required = False, 65 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, 78 ) 79 olevel_school = schema.TextLine( 80 title = _(u'Institution Attended'), 81 required = False, 82 readonly = False, 83 ) 84 olevel_session = schema.TextLine( 85 title = _(u'Years Attended'), 86 required = False, 87 readonly = False, 88 ) 89 olevel_disc = schema.TextLine( 90 title = _(u'Discipline'), 91 required = False, 92 readonly = False, 93 ) 94 49 95 50 96 class ICustomPGApplicant(INigeriaPGApplicant): -
main/waeup.fceokene/trunk/src/waeup/fceokene/applicants/utils.py
r9461 r9463 24 24 from kofacustom.nigeria.applicants.utils import NigeriaApplicantsUtils 25 25 26 26 from waeup.fceokene.interfaces import MessageFactory as _ 27 27 28 28 class ApplicantsUtils(NigeriaApplicantsUtils): … … 31 31 32 32 APP_TYPES_DICT = { 33 'app': ['General Studies', 'APP'], 33 34 'prence': ['Pre-NCE Programme', 'PRE'], 34 35 'sandwich': ['NCE Sandwich Programme', 'SAND'], … … 39 40 'bec': ['Bachelor of Education Certificate Programmes', 'BEC'] 40 41 } 42 43 SEPARATORS_DICT = { 44 'form.applicant_id': _(u'Base Data'), 45 'form.course1': _(u'Programmes/Courses Desired'), 46 'form.hq_type': _(u'Higher Education Record'), 47 'form.presently': _(u'Course or Programme Presently Attending'), 48 'form.nysc_year': _(u'NYSC Information'), 49 'form.employer': _(u'Employment History'), 50 'form.jamb_subjects': _(u'JAMB Data'), 51 'form.notice': _(u'Application Process Information'), 52 'form.pp_school': _(u'Post Primary School Qualification'), 53 'form.presently_inst': _(u'Presently attending a course or programme'), 54 'form.olevel_type': _(u"'O' Level Record"), 55 }
Note: See TracChangeset for help on using the changeset viewer.