Changeset 5624


Ignore:
Timestamp:
7 Jan 2011, 07:32:39 (14 years ago)
Author:
Henrik Bettermann
Message:

Fill released beds with NOT_OCCUPIED string.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/allocate_reserved_bed.py_old_version

    r5617 r5624  
    111111if change:
    112112    for bed in already:
    113         acco_cat.modifyRecord(bed=bed.bed,student='')
     113        acco_cat.modifyRecord(bed=bed.bed,student=acco_cat.not_occupied)
    114114
    115115if allocate or change:
     
    129129        modify = True
    130130    if modify:
    131         acco_cat.modifyRecord(bed=bid,student='')
     131        acco_cat.modifyRecord(bed=bid,student=acco_cat.not_occupied)
    132132        logger.info('%s released bed %s booked by %s' % (member,bid,sid))
    133133        psm = "%s removed from %s" % (student.name,bid)
Note: See TracChangeset for help on using the changeset viewer.