Changeset 649 for WAeUP_SRP/trunk/skins/waeup_student
- Timestamp:
- 11 Oct 2006, 06:24:39 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/apply_admission.py
r543 r649 49 49 % (context.absolute_url(),s_id,pin.split('-')[2],pin)) 50 50 51 ## jamb_id = ds.get('jamb_reg_no')52 ## student = context.getContent().getStudentByRegNo(jamb_id)53 ## if student is None:54 ## psm = "JAMB record %s not accessible." % (jamb_id)55 ## return context.application_pin_form(rendered = res,56 ## psm = psm,57 ## #psm = "%s, %s" % (psm,ds),58 ## ds = ds,59 ## )60 ##if context.portal_workflow.getInfoFor(student,'review_state',None) == "created":61 ## #student.invokeFactory('StudentClearance','clearance')62 ##da = {}63 ##pin = str(ds.get('app_ac_pin'))64 ##da['app_ac_pin'] = pin65 ##da['app_ac_date'] = current66 ##apdoc.edit(mapping = da)67 68 69 # now display the passport form with jamb-data readonly70 ##return context.REQUEST.RESPONSE.redirect("%s/application_form" % (student.application.absolute_url()))71 ##return student.application_form()72 73 51 return 74 52
Note: See TracChangeset for help on using the changeset viewer.