Changeset 15869 for main/waeup.aaue/trunk
- Timestamp:
- 6 Dec 2019, 11:25:22 (5 years ago)
- 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
r15868 r15869 977 977 def _searchCatalog(self, session): 978 978 cat = queryUtility(ICatalog, name='coursetickets_catalog') 979 # Temporarily we allow students to pay for next session, so their 980 # current_session might have increased 979 981 coursetickets = cat.searchResults( 980 session=(session, session ),982 session=(session, session+1), 981 983 code=(self.context.code, self.context.code) 982 984 ) -
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r15804 r15869 450 450 cas = grok.getSite()[ 451 451 'configuration'].current_academic_session 452 # Temporarily we allow students to pay for next session, so their 453 # current_session might have increased 452 454 if self.student.state in (VALIDATED, REGISTERED, PAID) and \ 453 self.student.current_session == cas:455 self.student.current_session in (cas, cas+1): 454 456 return True 455 457 except (AttributeError, TypeError): # in unit tests
Note: See TracChangeset for help on using the changeset viewer.