Changeset 2964


Ignore:
Timestamp:
21 Dec 2007, 07:53:50 (17 years ago)
Author:
Henrik Bettermann
Message:

show correct requery link

Location:
WAeUP_SRP
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_epayment/interswitch_acco_cb.py

    r2962 r2964  
    8484if pay_doc.category == 'hostel_maintenance':
    8585    if  resp == '00':
     86        acco_info = context.getAccommodationInfo()
    8687        d = {}
    87         acco_info = context.getAccommodationInfo()
    8888        d['acco_maint_date'] = pay_doc.date
    8989        d['acco_maint_fee'] = pay_doc.amount
     
    105105    except:
    106106        logger.info('%s no workflow action close' % student_id)
    107     return request.RESPONSE.redirect("%s/accommodation_view" % acco_info['student'].absolute_url())
     107    return request.RESPONSE.redirect("%s/waeup_document_view" % context.absolute_url())
    108108
    109109
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r2943 r2964  
    109109                                  hasattr(so_doc, 'order_id') and not so_doc.resp_code) or str(member) in ('admin',):
    110110            row['is_requeryable'] = True
    111             row['callback_url'] = "%s/payments/%s/interswitch_cb" % (student.absolute_url(),
     111            row['callback_url'] = "%s/payments/%s/interswitch_acco_cb" % (student.absolute_url(),
    112112                                                            so.getId)
    113113            href = '%(query_url)s' % info
     
    115115            href += '&prodID=%(prod_id)s' % info
    116116            href += '&redirectURL=%(callback_url)s' % row
    117             row['href'] = href             
     117            row['href'] = href
    118118    if (review_state == "closed") and so_doc.resp_code in ('SC','00','AP','IP',):
    119119        row['confirmed'] = 'active'
Note: See TracChangeset for help on using the changeset viewer.