Ignore:
Timestamp:
5 Sep 2016, 07:31:37 (8 years ago)
Author:
Henrik Bettermann
Message:

Define getDegreeClass utility method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py

    r14151 r14157  
    826826        return 'N/A'
    827827
     828    def getDegreeClass(self, level_obj):
     829        """Get degree class title (used for SessionResultsPresentation
     830        reports).
     831        """
     832        return self.getClassFromCGPA(level_obj.cumulative_params[0])[0]
     833
    828834    def renderPDFTranscript(self, view, filename='transcript.pdf',
    829835                  student=None,
Note: See TracChangeset for help on using the changeset viewer.