Ignore:
Timestamp:
8 Dec 2007, 17:44:26 (17 years ago)
Author:
Henrik Bettermann
Message:

fix [edit] link

allow requery for certain members

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r2871 r2890  
    1414
    1515mtool = context.portal_membership
     16member = mtool.getAuthenticatedMember()
    1617if mtool.isAnonymousUser():
    1718    return None
     
    9495    row['trans_ref'] = getattr(so_doc,'order_id','')
    9596    if so_doc.type_description.startswith('School Fee'):
    96         if review_state == 'opened' and info['review_state'] in ('cleared_and_validated','returning') and hasattr(so_doc, 'order_id') and not so_doc.resp_code:
     97        if (review_state == 'opened' and info['review_state'] in ('cleared_and_validated','returning') and \
     98                                  hasattr(so_doc, 'order_id') and not so_doc.resp_code) or str(member) in ('admin','gbenga','isouaba'):
    9799            row['is_requeryable'] = True
    98100            row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
Note: See TracChangeset for help on using the changeset viewer.