Changeset 11631 for main/waeup.aaue/trunk/src
- Timestamp:
- 13 May 2014, 07:16:45 (11 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/etranzact/browser.py
r11627 r11631 24 24 from zope.component import getUtility 25 25 from zope.catalog.interfaces import ICatalog 26 from waeup.kofa.interfaces import IUniversity 26 from waeup.kofa.interfaces import IUniversity, CLEARED 27 27 from waeup.kofa.payments.interfaces import IPayer 28 28 from waeup.kofa.webservices import PaymentDataWebservice … … 280 280 return 281 281 student = self.context.student 282 if self.context.student.state != CLEARED: 283 return 284 if self.context.student.entry_session < 2013: 285 return 282 286 for ticket in student['payments'].values(): 283 287 if ticket.p_state == 'paid' and \ -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_browser.py
r11627 r11631 154 154 ctrl = self.browser.getControl(name='val_id') 155 155 sfpt_value = ctrl.options[1] 156 self.student['studycourse'].entry_session = 2013 156 157 self.browser.open(self.payments_path + '/' + sfpt_value) 157 158 self.browser.getLink("Query eTranzact History").click()
Note: See TracChangeset for help on using the changeset viewer.