Changeset 4004 for WAeUP_SRP/trunk/skins/waeup_futminna
- Timestamp:
- 6 Mar 2009, 22:46:48 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_futminna/getAccommodationInfo.py
r3960 r4004 16 16 import DateTime 17 17 18 booking_disabled = False18 booking_disabled = True 19 19 20 20 request = context.REQUEST … … 69 69 return info 70 70 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: 71 if review_state in ('cleared_and_validated','school_fee_paid','courses_registered', 'courses_validated',) and student_record.session == session[0]: 78 72 info['booking_allowed'] = True 79 73 info['online_payment'] = True … … 108 102 109 103 return info 110
Note: See TracChangeset for help on using the changeset viewer.