Changeset 2664 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 15 Nov 2007, 14:35:05 (17 years ago)
- Location:
- WAeUP_SRP/base/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py
r2619 r2664 125 125 wftool.doActionFor(student,next_transition) 126 126 127 #if next_session == context.getSessionId()[-2:]:128 # wftool.doActionFor(student,'pay_school_fee')129 #else:130 # study_course = getattr(student,'study_course')131 # #wftool.doActionFor(study_course,'open')132 # study_course_doc = study_course.getContent()133 # next_level = "%s" % (int(s_brain.level) + 100)134 # study_course_doc.edit(mapping= {'current_level': next_level,135 # 'current_session': next_session,})136 137 127 logger.info('%s paid school fee by scratch card' % student_id) 138 128 else: -
WAeUP_SRP/base/skins/waeup_epayment/pay_interswitch.py
r2619 r2664 44 44 fee_dict = context.getSchoolFee(sbrain) 45 45 fulltime = sbrain.mode.endswith('_ft') 46 #new = sbrain.entry_session == context.getSessionId()[-2:]47 46 new = sbrain.review_state == 'cleared_and_validated' 48 47 returning = sbrain.review_state == 'returning'
Note: See TracChangeset for help on using the changeset viewer.