Changeset 8536
- Timestamp:
- 28 May 2012, 05:26:01 (13 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/interfaces.py
r8532 r8536 40 40 PUTME_OMIT_EDIT_FIELDS = UG_OMIT_EDIT_FIELDS + ( 41 41 'firstname', 'middlename', 'lastname', 'sex', 42 'course1', 'lga', 'jamb score')42 'course1', 'lga', 'jamb_score', 'jamb_subjects') 43 43 44 44 PG_OMIT_DISPLAY_FIELDS = ('locked', 'course_admitted', 'password') … … 80 80 required = False, 81 81 ) 82 jambscore = schema.Int( 83 title = _(u'JAMB Score'), 84 required = False, 85 ) 86 87 88 # More fields 89 90 82 jamb_subjects = schema.Text( 83 title = _(u'Subjects and Scores'), 84 required = False, 85 ) 86 jamb_score = schema.Int( 87 title = _(u'Total Score'), 88 required = False, 89 ) 91 90 notice = schema.Text( 92 91 title = _(u'Notice'), -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/tests.py
r8532 r8536 254 254 'emp_reason,emp_start,employer,employer2,firstname,history,' 255 255 'hq_degree,hq_disc,hq_matric_no,hq_school,hq_session,hq_type,' 256 'jambscore,lastname,lga,locked,middlename,nationality,notice,nysc_lga,' 256 'jamb_score,jamb_subjects,lastname,lga,locked,middlename,' 257 'nationality,notice,nysc_lga,' 257 258 'nysc_year,password,perm_address,phone,pp_school,presently_inst,' 258 259 'reg_number,screening_score,screening_venue,sex,state,student_id,' … … 260 261 in result) 261 262 self.assertTrue( 262 'Application initialized by system\'],,,,,,,, Tester,,0,M.,,'263 'Application initialized by system\'],,,,,,,,,Tester,,0,M.,,' 263 264 '"Some notice\nin lines.",,,any password,,+234-123-12345,,,' 264 265 '123456,98,Exam Room,f,initialized,,dp2011' in result) -
main/waeup.aaue/trunk/src/waeup/aaue/applicants/utils.py
r8532 r8536 53 53 'form.nysc_year': _(u'NYSC Information'), 54 54 'form.employer': _(u'Employment History'), 55 'form.jamb score': _(u'JAMB Data'),55 'form.jamb_subjects': _(u'JAMB Data'), 56 56 'form.notice': _(u'Application Process Information'), 57 57 'form.pp_school': _(u'Post Primary School Qualification'), 58 58 'form.presently_inst': _(u'Presently attending a course or programme'), 59 59 } 60 61 def setPaymentDetails(self, container, payment):62 """Set the payment data of an applicant.63 """64 timestamp = "%d" % int(time()*1000)65 payment.p_id = "p%s" % timestamp66 payment.p_item = container.title67 payment.p_session = container.year68 payment.p_category = 'application'69 # We are using the container specific application fee70 # instead of the session configuration application fee.71 payment.amount_auth = container.application_fee72 return None -
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r8527 r8536 102 102 103 103 application_fee = schema.Float( 104 title = _(u'Application Fee ( ignored)'),104 title = _(u'Application Fee (fallback)'), 105 105 default = 0.0, 106 106 required = False,
Note: See TracChangeset for help on using the changeset viewer.