Ignore:
Timestamp:
12 Feb 2009, 06:03:29 (16 years ago)
Author:
Henrik Bettermann
Message:

allow '8' and '08' as session strings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_fceoyo/getAccommodationInfo.py

    r3714 r3960  
    6666    info['student_status'] = ''
    6767    return info   
     68   
     69try:
     70    arrived = int(student_record.session) == int(session[0])
     71except:
     72    arrived = False
     73    logger.info('%s has invalid session %s' % (student_id,student_record.session))   
    6874
    69 if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]:
     75if review_state in ('school_fee_paid','courses_registered', 'courses_validated',) and arrived:
    7076    info['booking_allowed'] = True
    7177    info['online_payment'] = True
Note: See TracChangeset for help on using the changeset viewer.