Changeset 3985 for WAeUP_SRP/trunk/skins/waeup_accommodation
- Timestamp:
- 27 Feb 2009, 20:22:29 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/getAccommodationInfo.py
r3962 r3985 103 103 logger.info('%s has invalid session %s' % (student_id,student_record.session)) 104 104 105 if level is None or end_level is None or student_record.review_state == 'deactivated':105 if level is None or end_level is None or student_record.review_state in ('deactivated','graduated'): 106 106 pass 107 107 elif arrived: … … 109 109 booking_allowed = student_record.review_state in new_states 110 110 else: 111 booking_allowed = not (level % 100) 111 booking_allowed = not (level % 100) 112 112 elif previous: 113 113 booking_allowed = student_record.verdict in ('A','B',)
Note: See TracChangeset for help on using the changeset viewer.