Changeset 13408 for main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Timestamp:
- 7 Nov 2015, 22:02:34 (9 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue/interswitch
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r13407 r13408 137 137 138 138 student = self.student 139 current_session = student['studycourse'].current_session139 p_session = self.context.p_session 140 140 try: 141 academic_session = grok.getSite()[ 142 'configuration'][str(current_session)] 141 academic_session = grok.getSite()['configuration'][str(p_session)] 143 142 except KeyError: 144 143 self.flash(_(u'Session configuration object is not available.'), -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/tests.py
r13406 r13408 285 285 acc_payment = createObject('waeup.StudentOnlinePayment') 286 286 acc_payment.p_state = 'unpaid' 287 acc_payment.p_session = 2004 287 288 acc_payment.p_category = 'clearance' 288 289 acc_payment.p_id = 'xyz'
Note: See TracChangeset for help on using the changeset viewer.