Changeset 2939 for WAeUP_SRP/uniben
- Timestamp:
- 13 Dec 2007, 08:53:05 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/uniben/waeup_custom/getPaymentsFolderInfo.py
r2912 r2939 19 19 20 20 mtool = context.portal_membership 21 member = mtool.getAuthenticatedMember() 21 22 if mtool.isAnonymousUser(): 22 23 return None … … 93 94 row['trans_ref'] = getattr(so_doc,'order_id','') 94 95 if so_doc.type_description.startswith('School Fee'): 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 if (review_state == 'opened' and info['review_state'] in ('cleared_and_validated',) and \ 97 hasattr(so_doc, 'order_id') and not so_doc.resp_code) or str(member) in ('admin',): 96 98 row['is_requeryable'] = True 97 99 row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
Note: See TracChangeset for help on using the changeset viewer.