[1737] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
[1369] | 2 | <metal:main fill-slot="main" |
---|
[2048] | 3 | tal:define="info context/getPaymentInfo;"> |
---|
| 4 | <span tal:condition="python: not info"> |
---|
[1369] | 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </span> |
---|
| 7 | |
---|
[2048] | 8 | <span tal:condition="python: info"> |
---|
| 9 | <metal:block tal:condition="info/is_online_pmt"> |
---|
[1369] | 10 | <h3>Online Payment Receipt</h3> |
---|
| 11 | <br /> |
---|
| 12 | <table tal:define="student info/student"> |
---|
| 13 | <tr> |
---|
| 14 | <td width="220px">Name:</td> |
---|
| 15 | <td><span tal:content="student/name" /></td> |
---|
| 16 | </tr> |
---|
| 17 | <tr> |
---|
| 18 | <td>Student Id:</td> |
---|
| 19 | <td tal:content="student/id" /> |
---|
| 20 | </tr> |
---|
| 21 | <tr> |
---|
[2891] | 22 | <td>Registration Number:</td> |
---|
[1369] | 23 | <td tal:content="student/jamb_reg_no" /> |
---|
| 24 | </tr> |
---|
| 25 | <tr> |
---|
| 26 | <td>Certificate Id:</td> |
---|
| 27 | <td tal:content="student/course" /> |
---|
| 28 | </tr> |
---|
| 29 | <tr> |
---|
| 30 | <td>Faculty:</td> |
---|
| 31 | <td tal:content="student/faculty" /> |
---|
| 32 | </tr> |
---|
| 33 | <tr> |
---|
| 34 | <td>Department:</td> |
---|
| 35 | <td tal:content="student/department" /> |
---|
| 36 | </tr> |
---|
| 37 | </table> |
---|
| 38 | <span tal:omit-tag="" |
---|
[2058] | 39 | tal:content="structure python: info['payment_doc'].render(layout_mode='view')" |
---|
[1369] | 40 | /> |
---|
| 41 | </metal:block> |
---|
[2877] | 42 | |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | |
---|
[2048] | 46 | <metal:block tal:condition="info/is_scratchcard_pmt"> |
---|
[1369] | 47 | <h3>Scratch Card Payment Receipt</h3> |
---|
| 48 | <br /> |
---|
| 49 | <table tal:define="student info/student"> |
---|
| 50 | <tr> |
---|
| 51 | <td width="220px">Name:</td> |
---|
| 52 | <td><span tal:content="student/name" /></td> |
---|
| 53 | </tr> |
---|
| 54 | <tr> |
---|
| 55 | <td>Student Id:</td> |
---|
| 56 | <td tal:content="student/id" /> |
---|
| 57 | </tr> |
---|
| 58 | <tr> |
---|
[2885] | 59 | <td>Registration Number:</td> |
---|
[1369] | 60 | <td tal:content="student/jamb_reg_no" /> |
---|
[1372] | 61 | </tr> |
---|
[1369] | 62 | <tr> |
---|
[1372] | 63 | <td>Matriculation Number:</td> |
---|
| 64 | <td tal:content="student/matric_no" /> |
---|
| 65 | </tr> |
---|
| 66 | <tr> |
---|
[1369] | 67 | <td>Certificate Id:</td> |
---|
| 68 | <td tal:content="student/course" /> |
---|
| 69 | </tr> |
---|
| 70 | <tr> |
---|
| 71 | <td>Faculty:</td> |
---|
| 72 | <td tal:content="student/faculty" /> |
---|
| 73 | </tr> |
---|
| 74 | <tr> |
---|
| 75 | <td>Department:</td> |
---|
| 76 | <td tal:content="student/department" /> |
---|
| 77 | </tr> |
---|
| 78 | </table> |
---|
[2058] | 79 | <table tal:define="pm nocall: info/payment_doc"> |
---|
[1369] | 80 | <tr> |
---|
[1371] | 81 | <td width="220px">Access Code:</td> |
---|
[2877] | 82 | <td><span tal:content="pm/order_id" /></td> |
---|
[1371] | 83 | </tr> |
---|
| 84 | <tr> |
---|
[1369] | 85 | <td width="220px">Payment Description:</td> |
---|
| 86 | <td><span tal:content="pm/type_description" /></td> |
---|
[1371] | 87 | </tr> |
---|
[2066] | 88 | <tr> |
---|
| 89 | <td width="220px">Amount (Naira):</td> |
---|
| 90 | <td><span tal:content="pm/amount" /></td> |
---|
| 91 | </tr> |
---|
[1371] | 92 | <tr> |
---|
[1369] | 93 | <td width="220px">Transaction Date:</td> |
---|
| 94 | <td><span tal:content="python:pm.date.ISO()" /></td> |
---|
[1371] | 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <td width="220px">Response Code:</td> |
---|
| 98 | <td><span tal:content="pm/resp_code" /></td> |
---|
| 99 | </tr> |
---|
| 100 | <tr> |
---|
| 101 | <td width="220px">Response Description:</td> |
---|
| 102 | <td><span tal:content="pm/resp_desc" /></td> |
---|
| 103 | </tr> |
---|
[1369] | 104 | </table> |
---|
| 105 | </metal:block> |
---|
| 106 | |
---|
[2048] | 107 | <metal:block tal:condition="info/is_interrupted"> |
---|
[1371] | 108 | <h3>Payment Process Interrupted!</h3> |
---|
| 109 | <br /> |
---|
| 110 | </metal:block> |
---|
[1392] | 111 | |
---|
[2048] | 112 | <metal:block tal:condition="info/unknown_code"> |
---|
| 113 | <h3>Response from Bank: "<span tal:content="info/resp_desc" />"</h3> |
---|
[1392] | 114 | <br /> |
---|
| 115 | </metal:block> |
---|
[1369] | 116 | |
---|
| 117 | </span> |
---|
| 118 | </metal:main> |
---|
| 119 | </metal:body> |
---|