Changeset 18324 for main


Ignore:
Timestamp:
7 Sep 2026, 08:33:15 (3 months ago)
Author:
Henrik Bettermann
Message:

Fix columns (caused by including the sex column).

Location:
main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/reports
Files:
2 edited

Legend:

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

    r18323 r18324  
    8383        # Underline mandatory (core) courses
    8484        failed_courses = Paragraph(
    85             line[5].replace(
     85            line[6].replace(
    8686                'm_', '<u>').replace('_m', '</u>'), SMALL_PARA_STYLE)
    87         line = line[:5] + (failed_courses,) + line[6:]
     87        line = line[:6] + (failed_courses,) + line[7:]
    8888        # Superscript in remarks (needed by AAUE)
    8989        remark = Paragraph(
    90             line[11].replace(
     90            line[12].replace(
    9191                's_', '<super>').replace('_s', '</super>'), SMALL_PARA_STYLE)
    92         line = line[:11] + (remark,)
     92        line = line[:12] + (remark,)
    9393        line = (sn,) + line
    9494        table.append(line)
    … …  
    112112        #    dean = 'Dean of Faculty'
    113113        if not hod:
    114             dean = 'HoD'
     114            hod = 'HoD'
    115115        if not ca:
    116116            ca = 'Course Adviser'
    … …  
    197197        return sorted(table, key=lambda value:value[0])
    198198
    199     note = """
    200 
    201 
    202 
    203   FRNS (Faculty Requirements Not Satisfied)
    204   NER (No Evidence of Registration)
    205   NEV (No Evidence of Verification)
    206     """
    207 
    208199    def create_pdf(self, job_id):
    209200        creator = getUtility(IPDFCreator, name=self.pdfcreator)
  • main/kofacustom.unidel/trunk/src/kofacustom/unidel/students/reports/session_results_presentation.py

    r18318 r18324  
    7676#</font>
    7777#"""
     78
     79    note = """
     80
     81
     82
     83  FRNS (Faculty Requirements Not Satisfied)
     84  NER (No Evidence of Registration)
     85  NEV (No Evidence of Verification)
     86    """
    7887
    7988    @property
Note: See TracChangeset for help on using the changeset viewer.