- Timestamp:
- 21 Aug 2007, 08:11:16 (17 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_cb.py
r2133 r2135 82 82 if next_session == context.getSessionId()[-2:]: 83 83 wftool.doActionFor(student,'pay_school_fee') 84 if int(session) < 6:84 else: 85 85 study_course = getattr(student,'study_course') 86 86 try: -
WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py
r2130 r2135 87 87 except: 88 88 cost = "n/a" 89 89 90 90 if not hasattr(payments,p_id): 91 91 now = DateTime.DateTime() … … 105 105 if next_session == context.getSessionId()[-2:]: 106 106 wftool.doActionFor(student,'pay_school_fee') 107 if int(session) < 6:107 else: 108 108 study_course = getattr(student,'study_course') 109 109 #wftool.doActionFor(study_course,'open') 110 110 study_course_doc = study_course.getContent() 111 if s_brain.verdict in ('A','B') or int(session) < 5: 112 next_level = "%s" % (int(s_brain.level) + 100) 113 else: 114 next_level = s_brain.level 111 next_level = "%s" % (int(s_brain.level) + 100) 115 112 study_course_doc.edit(mapping= {'current_level': next_level, 116 113 'current_session': next_session,})
Note: See TracChangeset for help on using the changeset viewer.