Changeset 1488 for WAeUP_SRP/trunk/skins
- Timestamp:
- 24 Feb 2007, 21:53:06 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1487 r1488 99 99 da['app_ac_date'] = current 100 100 app_doc.edit(mapping = da) 101 if s_review_state in ("student_created","admitted") and\102 a_review_state == 'opened' :103 study_course = getattr(student,'study_course',None)104 wftool.doActionFor(study_course,'open')105 #set_trace()106 if study_course is not None:107 dsc = {}108 level = '100'109 jamb_reg_no = app_doc.jamb_reg_no110 if jamb_reg_no[1] == '1':111 level = '200'112 dsc['current_level'] = level113 dsc['current_verdict'] = 'N/A'114 study_course.getContent().edit(mapping=dsc)115 116 101 elif s_review_state in ("admitted") and a_review_state == 'opened' and\ 117 102 not app_doc.app_ac_pin: … … 133 118 p_review_state == 'created' : 134 119 wftool.doActionFor(student_per,'open') 120 elif s_review_state in ("student_created","admitted") and\ 121 a_review_state == 'opened' : 122 study_course = getattr(student,'study_course',None) 123 wftool.doActionFor(study_course,'open') 124 #set_trace() 125 if study_course is not None: 126 dsc = {} 127 level = '100' 128 jamb_reg_no = app_doc.jamb_reg_no 129 if jamb_reg_no[1] == '1': 130 level = '200' 131 dsc['current_level'] = level 132 dsc['current_verdict'] = 'N/A' 133 study_course.getContent().edit(mapping=dsc) 135 134 res = context.students_catalog(id = str(member)) 136 135 matric_no = res[0].matric_no
Note: See TracChangeset for help on using the changeset viewer.