Ignore:
Timestamp:
9 Dec 2019, 16:18:49 (5 years ago)
Author:
Henrik Bettermann
Message:

Show also course tickets of students in state returning.

Location:
main/waeup.aaue/trunk/src/waeup/aaue/students
Files:
2 edited

Legend:

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

    r15869 r15876  
    977977    def _searchCatalog(self, session):
    978978        cat = queryUtility(ICatalog, name='coursetickets_catalog')
    979         # Temporarily we allow students to pay for next session, so their
    980         # current_session might have increased
    981979        coursetickets = cat.searchResults(
    982             session=(session, session+1),
     980            session=(session, session),
    983981            code=(self.context.code, self.context.code)
    984982            )
  • main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py

    r15869 r15876  
    452452            # Temporarily we allow students to pay for next session, so their
    453453            # current_session might have increased
    454             if self.student.state in (VALIDATED, REGISTERED, PAID) and \
     454            if self.student.state in (
     455                VALIDATED, REGISTERED, PAID, RETURNING) and \
    455456                self.student.current_session in (cas, cas+1):
    456457                return True
Note: See TracChangeset for help on using the changeset viewer.