Changeset 767 for WAeUP_SRP/trunk/skins/waeup_student/student_edit.py
- Timestamp:
- 27 Oct 2006, 18:41:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/student_edit.py
r766 r767 70 70 psm = 'psm_content_error' 71 71 else: 72 psm = '' 72 73 args = {} 73 74 if info['review_state'] == "student_created": … … 76 77 psm = 'You applied for admission.' 77 78 action = "/application_view" 78 elif info['review_state'] == " clearance_pin_entered":79 student.content_status_modify(workflow_action=" request_clearance")79 elif info['review_state'] == "admitted": 80 student.content_status_modify(workflow_action="enter_clearance_pin") 80 81 #wftool.doActionFor(info['clear'],'open',dest_container=info['clear']) 81 da = {}82 pin = REQUEST.get('pin')83 da['app_ac_pin'] = pin84 da['app_ac_date'] = current85 82 app_doc = info['app_doc'] 86 app_doc.edit(mapping = da)87 83 dc = {} 88 84 dc['email'] = app_doc.appl_email 89 85 dc['mobil'] = app_doc.appl_mobile 90 dc['passport'] = app_doc.passport91 86 info['clear_doc'].edit(mapping = dc) 92 87 wftool.doActionFor(app,'close',dest_container= app) 93 psm = 'You requested clearance.'88 psm = 'You successfully started the clearance process.' 94 89 action = "/clearance_view" 95 90 else: 96 psm = ''97 91 action = "/clearance_view" 98 92 99 93 else: 100 94 is_valid, ds = app_doc.validate(request=REQUEST, proxy=context, cluster=cluster,
Note: See TracChangeset for help on using the changeset viewer.