Changeset 3108 for WAeUP_SRP


Ignore:
Timestamp:
5 Feb 2008, 10:34:54 (17 years ago)
Author:
Henrik Bettermann
Message:

disable booking for deactivated students

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/uniben/waeup_custom/getAccommodationInfo.py

    r3089 r3108  
    8686arrived = student_record.session == session[0]
    8787previous = int(student_record.session) == int(session[0]) - 1
    88 if arrived:
     88
     89if student_record.review_state == 'deactivated':
     90    pass
     91elif arrived:
    8992    if new:
    9093        booking_allowed = student_record.review_state in new_states
Note: See TracChangeset for help on using the changeset viewer.