Changeset 766 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 27 Oct 2006, 16:35:27 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r753 r766 51 51 info = context.getStudentInfo() 52 52 student = info['student'] 53 if info['review_state'] == "student_created":54 student.content_status_modify(workflow_action="enter_ application_pin")53 if info['review_state'] in ("student_created","admitted"): 54 student.content_status_modify(workflow_action="enter_clearance_pin") 55 55 wftool.doActionFor(info['app'],'open',dest_container=info['app']) 56 56 da = {} 57 57 pin = request.get('pin') 58 app_doc = info['app_doc'] 58 59 da['app_ac_pin'] = pin 59 60 da['app_ac_date'] = current 60 info['app_doc'].edit(mapping = da) 61 app_doc.edit(mapping = da) 62 dc = {} 63 dc['clr_ac_pin'] = pin 64 dc['entry_date'] = current 65 dc['session'] = "%s" % current.year() 66 dc['lga'] = app_doc.jamb_lga 67 info['clear_doc'].edit(mapping = dc) 61 68 elif "Manager" in member.getRoles(): 62 69 pass
Note: See TracChangeset for help on using the changeset viewer.