Ignore:
Timestamp:
26 Feb 2007, 09:16:06 (18 years ago)
Author:
joachim
Message:

make register courses work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/getStudyCourseInfo.py

    r1493 r1494  
    1212return Info about the Students StudyCourse
    1313"""
     14try:
     15    from Products.zdb import set_trace
     16except:
     17    def set_trace():
     18        pass
     19
    1420request = context.REQUEST
    1521
     
    4955    wftool.doActionFor(context,'close_for_edit')
    5056student_review_state = context.getStudentReviewState()
    51 may_register = 0 #1 or student_review_state in ('shool_fee_payed',)
     57#may_register = 0 #1 or student_review_state in ('shool_fee_payed',)
     58may_register = (1 or student_review_state in ('shool_fee_payed',)) and\
     59               current_level not in levels
    5260levels.sort()
    5361info['create_level'] = None
Note: See TracChangeset for help on using the changeset viewer.