Changeset 13352 for main/waeup.kofa/trunk/src/waeup/kofa/hostels
- Timestamp:
- 26 Oct 2015, 17:36:32 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/hostels/hostel.py
r13346 r13352 93 93 all_beds = (beds_for_pre + beds_for_fresh + 94 94 beds_for_returning + beds_for_final + beds_for_all) 95 floor_base = 100 96 if self.rooms_per_floor > 99: 97 floor_base = 1000 95 98 for block in all_blocks: 96 99 sex = 'male' … … 100 103 for room in range(1,int(self.rooms_per_floor)+1): 101 104 for bed in all_beds: 102 room_nr = floor* 100+ room105 room_nr = floor*floor_base + room 103 106 bt = 'all' 104 107 if bed in beds_for_fresh:
Note: See TracChangeset for help on using the changeset viewer.