- Timestamp:
- 19 Mar 2007, 18:57:54 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/branches/uli/skins/waeup_student/getStudyCourseInfo.py
r1537 r1593 52 52 levels = context.objectIds() 53 53 review_state = wftool.getInfoFor(context,'review_state',None) 54 if review_state != 'content_addable': 54 student_review_state = context.getStudentReviewState() 55 if review_state != 'content_addable' and student_review_state == 'school_fee_paid': #and context.isStudent(): 55 56 wftool.doActionFor(context,'close_for_edit') 56 student_review_state = context.getStudentReviewState()57 57 may_register = (student_review_state in ('school_fee_paid',)) and\ 58 58 current_level not in levels and\ 59 59 (sbrain.verdict in ('A','B') or sbrain.jamb_reg_no.startswith('6')) 60 60 61 61 levels.sort() 62 62 info['create_level'] = None … … 72 72 info['items'] = items 73 73 74 try: 74 try: 75 75 info['verdict'] = context.portal_vocabularies.verdicts.get(info['doc'].current_verdict).upper() 76 76 except: 77 info['verdict'] = course.current_verdict 77 info['verdict'] = course.current_verdict 78 78 79 79 return info
Note: See TracChangeset for help on using the changeset viewer.