Changeset 1368 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
28 Jan 2007, 09:46:17 (18 years ago)
Author:
Henrik Bettermann
Message:

payment receipts

Location:
WAeUP_SRP/trunk/skins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt

    r1294 r1368  
    2828              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    2929            <td>
    30               <a href="view" tal:attributes="href string:${context/absolute_url}/${row/id}">
     30              <a target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt"
     31                 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
    3132                <strong tal:content="row/title" /></a>
    3233            </td>
  • WAeUP_SRP/trunk/skins/waeup_student/getTransferInfo.py

    r1339 r1368  
    2121member = mtool.getAuthenticatedMember()
    2222member_id = str(member)
    23 path_info = request.get('PATH_INFO').split('/')
    2423
    2524if mtool.isAnonymousUser():
  • WAeUP_SRP/trunk/skins/waeup_student/student_index.py

    r1294 r1368  
    3030    elif context.portal_type == 'Student':
    3131        return redirect("%s/student_view" % context.absolute_url())
     32    elif context.portal_type == 'Payment':
     33        return context.payment_receipt()       
    3234    return redirect("%s/waeup_document_view" % context.absolute_url())
    3335if context.isStudent():
    3436    if context.portal_type == 'PaymentsFolder':
    3537        return context.payments_view()
    36     if context.portal_type == 'Payment':
    37         return context.waeup_document_view()       
     38    elif context.portal_type == 'Payment':
     39        return context.payment_receipt()
    3840    students_url = "%s/campus/students" % (context.portal_url())
    3941    id = str(member)
Note: See TracChangeset for help on using the changeset viewer.