Changeset 118
- Timestamp:
- 28 Oct 2005, 11:48:10 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/book_accommodation.py
r114 r118 40 40 for hall in halls: 41 41 h = hall.getContent() 42 ba = getattr(h,'beds_assigned',0)42 ba = int(getattr(h,'beds_assigned',0)) 43 43 bal = getattr(h,'beds_assigned_list',[]) 44 44 nr_of_beds = int(h.nr_of_blocks) * int(h.nr_of_floors) * int(h.rooms_per_floor) * int(h.beds_per_room)
Note: See TracChangeset for help on using the changeset viewer.