Ignore:
Timestamp:
18 Apr 2012, 09:09:28 (13 years ago)
Author:
Henrik Bettermann
Message:

Add payment receipt for imported payments.

File:
1 edited

Legend:

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

    r8138 r8205  
    77     
    88      <span tal:condition="python: info">
     9
     10        <metal:block tal:condition="info/is_im_pmt">
     11        <h3>Imported Payment Receipt</h3>
     12        <br />
     13        <table tal:define="student info/student;
     14                           pm nocall: info/payment_doc">
     15        <tr>
     16          <td width="220px">Name:</td>
     17          <td><span tal:content="student/name" /></td>
     18        </tr>
     19        <tr>
     20          <td>Student Id:</td>
     21          <td tal:content="student/id" />
     22        </tr>
     23        <tr>
     24          <td>Registration Number:</td>
     25          <td tal:content="student/jamb_reg_no" />
     26        </tr>
     27        <tr>
     28          <td>Matriculation Number:</td>
     29          <td tal:content="student/matric_no" />
     30        </tr>
     31        <tr>
     32          <td>Current Study Level:</td>
     33          <td tal:content="python:context.portal_vocabularies.student_levels.get(student['level'])" />
     34        </tr>
     35        <tr>
     36          <td>Certificate Id:</td>
     37          <td tal:content="student/course" />
     38        </tr>
     39        <tr>
     40          <td>Faculty:</td>
     41          <td tal:content="student/faculty" />
     42        </tr>
     43        <tr>
     44          <td>Department:</td>
     45          <td tal:content="student/department" />
     46        </tr>
     47        <tr>
     48          <td width="220px">Payment Status:</td>
     49          <td><span tal:content="python:context.portal_vocabularies.payment_status.get(pm.status)" /></td>
     50        </tr>
     51        <tr>
     52          <td width="220px">Payment Type:</td>
     53
     54          <td><span tal:content="python:context.portal_vocabularies.payment_types.get(pm.type)" /></td>
     55        </tr>
     56        <tr>
     57          <td width="220px">Payment Category:</td>
     58          <td><span tal:content="python:context.portal_vocabularies.payment_categories.get(pm.category)" /></td>
     59        </tr>
     60        <tr>
     61          <td width="220px">Payment Item:</td>
     62          <td><span tal:content="pm/item" /></td>
     63        </tr>
     64        <tr>
     65          <td width="220px">Session:</td>
     66          <td><span tal:content="python:context.portal_vocabularies.sessions.get(pm.session_id)" /></td>
     67        </tr>
     68
     69        <tr>
     70          <td width="220px">Transaction Date:</td>
     71          <td><span tal:content='python:pm.date.strftime("%d/%m/%y %H:%M:%S")' /></td>
     72        </tr>
     73        <tr>
     74          <td width="220px">Amount (Naira):</td>
     75          <td><span tal:content="pm/amount" /></td>
     76        </tr>
     77        <tr>
     78          <td width="220px">Response Code:</td>
     79          <td><span tal:content="pm/resp_code" /></td>
     80        </tr>
     81        <tr>
     82          <td width="220px">Response Description:</td>
     83          <td><span tal:content="pm/resp_desc" /></td>
     84        </tr>
     85        </table>
     86        </metal:block>
     87
    988        <metal:block tal:condition="info/is_online_pmt">
    1089        <h3>Interswitch Payment Receipt</h3>
Note: See TracChangeset for help on using the changeset viewer.