Changeset 1450 for WAeUP_SRP/trunk
- Timestamp:
- 20 Feb 2007, 21:00:41 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_accommodation/book_reserved_bed.py
r1449 r1450 87 87 if acco_id in student_obj.objectIds(): 88 88 acco_doc = getattr(student_obj, acco_id).getContent() 89 if acco_doc.bed == bid:90 psm = "Student %s has not reserved bed " % (sid, bid)89 if acco_doc.bed != bid: 90 psm = "Student %s has not reserved bed %s" % (sid, bid) 91 91 break 92 92 if not already: … … 119 119 acco_doc.edit(mapping={'bed': bid}) 120 120 logger.info('"%s","booked reserved bed %s for","%s"' % (member,bid,sid)) 121 psm = "Bed reserved for %s %s" % (sid,student.name)121 psm = "Bed %s reserved for %s %s" % (bid,sid,student.name) 122 122 elif release: 123 123 if acco_id in student_obj.objectIds():
Note: See TracChangeset for help on using the changeset viewer.