Changeset 1487 for WAeUP_SRP/trunk/skins/waeup_custom
- Timestamp:
- 24 Feb 2007, 21:41:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r1417 r1487 13 13 $Id$ 14 14 """ 15 try: 16 from Products.zdb import set_trace 17 except: 18 def set_trace(): 19 pass 15 20 import DateTime 16 21 current = DateTime.DateTime() … … 94 99 da['app_ac_date'] = current 95 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_no 110 if jamb_reg_no[1] == '1': 111 level = '200' 112 dsc['current_level'] = level 113 dsc['current_verdict'] = 'N/A' 114 study_course.getContent().edit(mapping=dsc) 115 96 116 elif s_review_state in ("admitted") and a_review_state == 'opened' and\ 97 117 not app_doc.app_ac_pin:
Note: See TracChangeset for help on using the changeset viewer.