Changeset 16518 for main


Ignore:
Timestamp:
29 Jun 2021, 07:19:56 (3 years ago)
Author:
Henrik Bettermann
Message:

Adjust ApplicantOnlinePaymentProcessor.getMapping (2nd bugfix).

Sort attendance.pdf first by faculty and department before certcode.

Location:
main/waeup.kofa/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/CHANGES.txt

    r16472 r16518  
    66
    77* Adjust `ApplicantOnlinePaymentProcessor.getMapping` (2nd bugfix).
     8
     9* Sort attendance.pdf first by faculty and department before certcode.
     10
     11* Add serial o to the coursetickets.pdf.
    812
    9131.7.1 (2021-04-20)
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r16505 r16518  
    41054105            code=(self.context.code, self.context.code)
    41064106            )
    4107         header = [[_('Matric No.'),
     4107        header = [[_('S/N'),
     4108                   _('Matric No.'),
    41084109                   _('Reg. No.'),
    41094110                   _('Fullname'),
     
    41134114                   _('Score') ],]
    41144115        tickets = []
     4116        sn = 1
    41154117        for ticket in list(coursetickets):
    4116             row = [ticket.student.matric_number,
     4118            row = [sn,
     4119                  ticket.student.matric_number,
    41174120                  ticket.student.reg_number,
    41184121                  ticket.student.display_fullname,
     
    41244127                  ]
    41254128            tickets.append(row)
    4126         data = sorted(tickets, key=lambda value: value[7])
    4127         for d in data: d.pop(7)
     4129            sn += 1
     4130        data = sorted(tickets, key=lambda value: value[8])
     4131        for d in data: d.pop(8)
    41284132        return header + data, None
    41294133
     
    41774181        sn = 1
    41784182        ctlist = sorted(list(coursetickets),
    4179                         key=lambda value: str(value.student.certcode) +
     4183                        key=lambda value: str(value.student.faccode) +
     4184                                          str(value.student.depcode) +
     4185                                          str(value.student.certcode) +
    41804186                                          str(value.student.matric_number))
    41814187        # In AAUE only editable appear on the attendance sheet. Hopefully
Note: See TracChangeset for help on using the changeset viewer.