Changeset 4004


Ignore:
Timestamp:
6 Mar 2009, 22:46:48 (16 years ago)
Author:
Henrik Bettermann
Message:

booking disabled

File:
1 edited

Legend:

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

    r3960 r4004  
    1616import DateTime
    1717
    18 booking_disabled = False
     18booking_disabled = True
    1919
    2020request = context.REQUEST
     
    6969    return info   
    7070
    71 try:
    72     arrived = int(student_record.session) == int(session[0])
    73 except:
    74     arrived = False
    75     logger.info('%s has invalid session %s' % (student_id,student_record.session))
    76 
    77 if review_state in ('cleared_and_validated','school_fee_paid','courses_registered', 'courses_validated',) and arrived:
     71if review_state in ('cleared_and_validated','school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]:
    7872    info['booking_allowed'] = True
    7973    info['online_payment'] = True
     
    108102
    109103return info
    110 
Note: See TracChangeset for help on using the changeset viewer.