Changeset 15236


Ignore:
Timestamp:
13 Nov 2018, 07:58:07 (6 years ago)
Author:
Henrik Bettermann
Message:

Exclude previous studycourses on the CustomExportPDFScoresSlip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r15232 r15236  
    10591059                for courseticket in coursetickets
    10601060                if courseticket.student.current_mode in score_editing_enabled
    1061                 and courseticket.total_score is not None]
     1061                and courseticket.total_score is not None
     1062                and courseticket.__parent__.__parent__.is_current]
    10621063        except KeyError:
    10631064            coursetickets_filtered = coursetickets
     
    10961097            if getattr(ticket, 'imported_ts', None):
    10971098                total = Paragraph(
    1098                     "<b>%s</b>" % ticket.total_score, STYLE["Normal"])
     1099                    "<b>%s</b>" % ticket.imported_ts, STYLE["Normal"])
    10991100            grade = ticket._getGradeWeightFromScore[0]
    11001101            if grade in ('F', '-'):
Note: See TracChangeset for help on using the changeset viewer.