Changeset 2881 for WAeUP_SRP/base/skins/waeup_epayment
- Timestamp:
- 8 Dec 2007, 14:05:00 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_epayment/pay_by_sc.py
r2877 r2881 33 33 34 34 student = getattr(students,student_id) 35 s _brain = context.students_catalog(id=student_id)[0]35 student_record = context.students_catalog.getRecordByKey(student_id) 36 36 37 # session = s _brain.session37 # session = student_record.session 38 38 # next_session, next_session_str = context.getNextSessionId(session) 39 39 40 next_info = context.getNextInfo(s _brain)40 next_info = context.getNextInfo(student_record) 41 41 next_session_id = next_info['next_session_id'] 42 42 next_session_str = next_info['next_session_str'] … … 105 105 info['type'] = 'sc' 106 106 info['status'] = 'paid' 107 info['target'] = s_brain.course 107 info['session_id'] = student_record.session 108 info['target'] = student_record.course 108 109 info['subject'] = 'schoolfee' 109 110 info['resp_code'] = "SC"
Note: See TracChangeset for help on using the changeset viewer.