Changeset 8211 for WAeUP_SRP


Ignore:
Timestamp:
19 Apr 2012, 08:26:35 (12 years ago)
Author:
Henrik Bettermann
Message:

Shorten transaction code on slip.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_uniben/payment_receipt.pt

    r8205 r8211  
    5959        </tr>
    6060        <tr>
    61           <td width="220px">Payment Item:</td>
    62           <td><span tal:content="pm/item" /></td>
    63         </tr>
    64         <tr>
    6561          <td width="220px">Session:</td>
    6662          <td><span tal:content="python:context.portal_vocabularies.sessions.get(pm.session_id)" /></td>
     
    199195        <tr>
    200196          <td width="220px">Transaction Code:</td>
    201           <td><strong><span tal:content="pm/order_id" /></strong></td>
     197          <td tal:define="oid python:pm['order_id']">
     198            <strong><span
     199                  tal:replace="python: oid[len(oid)-8:len(oid)]" />
     200            </strong>
     201          </td>
    202202        </tr>
    203203        <tr>
Note: See TracChangeset for help on using the changeset viewer.