Ignore:
Timestamp:
5 Oct 2011, 06:39:58 (13 years ago)
Author:
Henrik Bettermann
Message:

Change of functional specification: All students (except those in level 100) should be able to register 100L carryover courses.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_futminna/getStudyLevelInfo.py

    r6858 r6862  
    4747info['has_verdict'] = has_verdict = level_doc.verdict
    4848
    49 info['submission_allowed']= school_fee_paid and is_current_level and not has_verdict and level_id != '501'
    50 info['validation_allowed']= review_state == 'courses_registered' and is_current_level and level_id != '501'
     49info['submission_allowed']= school_fee_paid and is_current_level and not has_verdict and level_id != '101'
     50info['validation_allowed']= review_state == 'courses_registered' and is_current_level and level_id != '101'
    5151info['rejection_allowed']= review_state in ('courses_registered', 'courses_validated','returning',) and\
    52                                              is_current_level and level_id != '501'
     52                                             is_current_level and level_id != '101'
    5353info['validated'] = level_doc.validated_by and not (is_current_level and review_state in ('courses_registered',))
    5454info['show_check_boxes'] =  (is_ca and school_fee_paid and is_current_level and not has_verdict) or\
    5555                            (info['is_student'] and school_fee_paid and is_current_level and not has_verdict) or\
    56                             level_id == '501' or\
     56                            level_id == '101' or\
    5757                            (is_so) # and is_current_level and not has_verdict)
    5858
     
    9090info['credits_exceeded'] = total_credits > max_credits
    9191current_session = student.session
    92 info['show_submit'] = not info['credits_exceeded'] and level_id != '501'
    93 info['show_update'] = level_id != '501'
     92info['show_submit'] = not info['credits_exceeded'] and level_id != '101'
     93info['show_update'] = level_id != '101'
    9494#end customization
    9595
Note: See TracChangeset for help on using the changeset viewer.