Changeset 1368 for WAeUP_SRP/trunk


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

payment receipts

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/themes.xml

    r1331 r1368  
    2323  <element key="intra_faculty_transfer_2" value="WAeUP_Student+Slippage"/>
    2424  <element key="intra_faculty_transfer_3" value="WAeUP_Student+Slippage"/>
     25  <element key="payment_receipt" value="WAeUP_Student+Slippage"/>
    2526 </property>
    2627 <object name="default" meta_type="Portal Theme"/>
  • WAeUP_SRP/trunk/profiles/default/vocabularies/searchable_student_states.xml

    r1171 r1368  
    77 <item key="all" msgid="">all states</item>
    88 <item key="returning" msgid="">returning</item>
     9 <item key="school_fee_paid" msgid="">school fee paid</item>
    910 <item key="student_created" msgid="">data imported</item>
    1011 <item key="application_pin_entered" msgid="">application pin entered</item>
  • 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.