Changeset 17312 for main/kofacustom.unidel/trunk/src/kofacustom
- Timestamp:
- 23 Jan 2023, 17:12:03 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17304 r17312 196 196 d['expired'] = hostels.expired 197 197 # Determine bed type 198 entry_session = student['studycourse'].entry_session 199 if entry_session == grok.getSite()['hostels'].accommodation_session: 200 bt = 'fr' 201 else: 202 bt = 're' 198 bt = 'all' 199 if student.current_level >= 300: 200 bt = 'na' 203 201 if student.sex == 'f': 204 202 sex = 'female'
Note: See TracChangeset for help on using the changeset viewer.