Changeset 1892
- Timestamp:
- 13 Jun 2007, 15:57:09 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Students.py
r1889 r1892 305 305 middlename = result.get(csv_d['jamb_middlename']) 306 306 lastname = result.get(csv_d['jamb_lastname']) 307 if len(firstname) < 3\ 308 and len(middlename) < 3\ 309 and len(lastname) < 3: 310 em = 'Student Names to short \n' 311 logger.info(em) 312 result['Error'] = "Names to short" 313 no_import.append( format % result) 314 continue 307 315 perm_address = result.get(csv_d['perm_address']) 308 316 sid = self.generateStudentId('x') -
WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_cb.py
r1885 r1892 57 57 resp = pd['resp_code'] 58 58 if resp == '00': 59 wftool.doActionFor(student,'pay_school_fee') 59 if context.getStudentReviewState() == "school_fee_paid": 60 logger.info('%s paid school_fee in state school_fee_paid' % (student_id)) 61 else: 62 wftool.doActionFor(student,'pay_school_fee') 60 63 logger.info('%s received valid callback' % student_id) 61 64 referer = request.get('HTTP_REFERER','none') -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_interswitch.py
r1885 r1892 122 122 """ % xmldict 123 123 total = int(xmldict['uniben_amt'])+int(xmldict['wema_amt'])+int(xmldict['provider_amt']) 124 args['Amount'] = "%d" % total124 args['Amount'] = "%d" % (total + 15000) 125 125 args['site_name'] = "uniben.waeup.org" 126 126 args['cust_name_desc'] = "Student Name" -
WAeUP_SRP/trunk/skins/waeup_student/add_course_result.py
r1863 r1892 68 68 context.portal_workflow.doActionFor(cr,'open') 69 69 cr.getContent().edit(mapping=d) 70 #context.portal_workflow.doActionFor(cr,'close')70 context.portal_workflow.doActionFor(cr,'close') 71 71 args['course_id'] = course_id 72 72 -
WAeUP_SRP/trunk/skins/waeup_student/display_cest_results.py
r1805 r1892 19 19 pr = context.portal_registration 20 20 21 res,psm,ds = lt.renderLayout( layout_id='student_application_search',22 schema_id='student_application',23 context=context,24 mapping=validate and REQUEST,25 ob={},26 layout_mode='create',27 formaction = "display_cest_results",28 button = "Search",29 commit=False,30 )31 if psm == 'invalid':21 res,psm,ds = lt.renderLayout('student_application_search', 22 'student_application', 23 context, 24 mapping=validate and REQUEST, 25 layout_mode='create', 26 ob={"jamb_reg_no": '',}, 27 commit=False, 28 formaction = "display_cest_results", 29 button = "Search", 30 ) 31 if True or psm == 'invalid': 32 32 return context.display_cest_results_form(rendered = res, 33 33 psm = "Please correct your input!",
Note: See TracChangeset for help on using the changeset viewer.