Ignore:
Timestamp:
16 Nov 2023, 07:21:45 (12 months ago)
Author:
Henrik Bettermann
Message:

Change configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/utils.py

    r17621 r17644  
    212212        d['expired'] = hostels.expired
    213213        # Determine bed type
    214         bt = 'all'
     214        if entry_session == grok.getSite()['hostels'].accommodation_session:
     215            bt = 'fr'
     216        elif current_level >= end_level:
     217            bt = 'fi'
     218        else:
     219            bt = 're'
    215220        #if student.current_level >= 300:
    216221        #    bt = 'na'
Note: See TracChangeset for help on using the changeset viewer.