Ignore:
Timestamp:
20 Feb 2007, 13:41:26 (18 years ago)
Author:
joachim
Message:

new function fixReservedBeds:
walks through all reserved beds
if the bed is allocated to a student:

if the student has an accommodation object:

if not the same as the reserved bed:

deallocate bed.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_accommodation/getAccoFolderInfo.py

    r1441 r1447  
    1010# $Id$
    1111"""
    12 return Info about the Faculties
     12return Info about the Accommodation-Folder
    1313"""
    1414request = context.REQUEST
     
    2929    row['id'] = f.id
    3030    row['title'] = f.Title
    31     row['url'] = f.relative_path
     31    row['url'] = "%s/%s" % (context.absolute_url(),f.id)
    3232    #fo = f.getObject()
    3333    #row['is_editable'] = mtool.checkPermission('Modify portal content', fo)
Note: See TracChangeset for help on using the changeset viewer.