Changeset 14400


Ignore:
Timestamp:
15 Jan 2017, 09:43:37 (8 years ago)
Author:
Henrik Bettermann
Message:

AAUE: Any final year student with FRNS, the CGPA should not be visible on the pdf.

File:
1 edited

Legend:

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

    r14392 r14400  
    6767        end_level = getattr(stud['studycourse'].certificate, 'end_level', None)
    6868        if end_level and level >= end_level:
    69             cgpa = '%.2f' % (int(100*level_obj.cumulative_params[0])/100.0)
     69            if remark == 'FRNS':  # Faculty Requirements Not Satisfied
     70                cgpa = ''
     71            else:
     72                cgpa = '%.2f' % (int(100*level_obj.cumulative_params[0])/100.0)
    7073        else:
    7174            cgpa = '%.3f' % (int(1000*level_obj.cumulative_params[0])/1000.0)
Note: See TracChangeset for help on using the changeset viewer.