Ignore:
Timestamp:
2 Oct 2019, 08:18:38 (5 years ago)
Author:
Henrik Bettermann
Message:

Make course tickets of students in state school_fee_paid also editable by lecturers.

File:
1 edited

Legend:

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

    r15478 r15630  
    2727from zope.interface import implementedBy
    2828from waeup.kofa.utils.helpers import attrs_to_fields
    29 from waeup.kofa.interfaces import RETURNING, VALIDATED, REGISTERED
     29from waeup.kofa.interfaces import RETURNING, VALIDATED, REGISTERED, PAID
    3030from waeup.kofa.students.browser import TicketError
    3131from waeup.kofa.students.studylevel import (
     
    444444            cas = grok.getSite()[
    445445                'configuration'].current_academic_session
    446             if self.student.state in (VALIDATED, REGISTERED) and \
     446            if self.student.state in (VALIDATED, REGISTERED, PAID) and \
    447447                self.student.current_session == cas:
    448448                return True
Note: See TracChangeset for help on using the changeset viewer.