Ignore:
Timestamp:
2 Nov 2019, 17:55:19 (5 years ago)
Author:
Henrik Bettermann
Message:

Customize admission slip.

File:
1 edited

Legend:

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

    r15692 r15743  
    8080        d['bt'] = u'%s_%s_%s' % (special_handling,sex,bt)
    8181        return d
     82
     83    def getBedCoordinates(self, bedticket):
     84        """Translated coordinates:
     85
     86        Hall Name, Block Letter, Room Number, Bed Letter =
     87        Hall Name, M/F + Room Number-100, Bed Letter
     88
     89        Requirements: Gender must be part of bed_coordinates and all hostels
     90        have only one block with only one floor
     91        """
     92        ### ToDo
     93        return bedticket.bed_coordinates
    8294
    8395    def getReturningData(self, student):
Note: See TracChangeset for help on using the changeset viewer.