Changeset 17645 for main/kofacustom.unidel
- Timestamp:
- 16 Nov 2023, 07:28:00 (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py
r17644 r17645 211 211 d['enddate'] = hostels.enddate 212 212 d['expired'] = hostels.expired 213 studycourse = student['studycourse'] 214 certificate = getattr(studycourse,'certificate',None) 215 entry_session = studycourse.entry_session 216 current_level = studycourse.current_level 217 if None in (entry_session, current_level, certificate): 218 return d 219 end_level = certificate.end_level 213 220 # Determine bed type 214 221 if entry_session == grok.getSite()['hostels'].accommodation_session:
Note: See TracChangeset for help on using the changeset viewer.