Changeset 2912 for WAeUP_SRP/uniben/waeup_custom
- Timestamp:
- 10 Dec 2007, 20:11:24 (17 years ago)
- Location:
- WAeUP_SRP/uniben/waeup_custom
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/uniben/waeup_custom/getPaymentsFolderInfo.py
r2859 r2912 35 35 import DateTime 36 36 request = context.REQUEST 37 #students = context.portal_url.getPortalObject().campus.students37 students = context.portal_url.getPortalObject().campus.students 38 38 student_id = context.getStudentId() 39 39 if student_id is None: 40 40 return context.REQUEST.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url()) 41 #student = getattr(students,student_id)41 student = getattr(students,student_id) 42 42 student_record = context.students_catalog.getRecordByKey(student_id) 43 43 context['updatePayments']() … … 95 95 if review_state == 'opened' and info['review_state'] == 'cleared_and_validated' and hasattr(so_doc, 'order_id') and not so_doc.resp_code: 96 96 row['is_requeryable'] = True 97 row['callback_url'] = "%s/interswitch_cb" % (payments_path) 97 row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(), 98 so.getId) 98 99 href = '%(query_url)s' % info 99 100 href += '?transRef=%(trans_ref)s' % row -
WAeUP_SRP/uniben/waeup_custom/layout_student_acco_view_slip.pt
r2847 r2912 9 9 'acco_res_date', 10 10 'acco_maint_sc_pin', 11 'acco_maint_fee', 11 12 'acco_maint_date', 12 13 )"
Note: See TracChangeset for help on using the changeset viewer.