Changeset 2890


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

fix [edit] link

allow requery for certain members

Location:
WAeUP_SRP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_accommodation/acco_folder_view.pt

    r2845 r2890  
    5656            <td>
    5757              <a tal:condition="row/is_editable"
    58                 href="edit" tal:attributes="href string:/${row/url}/external_edit_form"
     58                href="edit" tal:attributes="href string:${row/url}/external_edit_form"
    5959                target="edit"
    6060                onclick="javascript:window.open('','edit','width=600, height=700, directories=no, toolbar=no, location=no, menubar=no, scrollbars=yes, status=no, resizable=no, dependent=no')">
  • 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.