[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> |
---|
[3280] | 26 | <td>Matriculation Number:</td> |
---|
| 27 | <td tal:content="student/matric_no" /> |
---|
[5485] | 28 | </tr> |
---|
[3280] | 29 | <tr> |
---|
[6698] | 30 | <td>Current Study Level:</td> |
---|
| 31 | <td tal:content="python:context.portal_vocabularies.student_levels.get(student['level'])" /> |
---|
| 32 | </tr> |
---|
| 33 | <tr> |
---|
[1369] | 34 | <td>Certificate Id:</td> |
---|
| 35 | <td tal:content="student/course" /> |
---|
| 36 | </tr> |
---|
| 37 | <tr> |
---|
| 38 | <td>Faculty:</td> |
---|
| 39 | <td tal:content="student/faculty" /> |
---|
| 40 | </tr> |
---|
| 41 | <tr> |
---|
| 42 | <td>Department:</td> |
---|
| 43 | <td tal:content="student/department" /> |
---|
| 44 | </tr> |
---|
| 45 | </table> |
---|
| 46 | <span tal:omit-tag="" |
---|
[2058] | 47 | tal:content="structure python: info['payment_doc'].render(layout_mode='view')" |
---|
[1369] | 48 | /> |
---|
| 49 | </metal:block> |
---|
[2877] | 50 | |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | |
---|
[2048] | 54 | <metal:block tal:condition="info/is_scratchcard_pmt"> |
---|
[1369] | 55 | <h3>Scratch Card Payment Receipt</h3> |
---|
| 56 | <br /> |
---|
[3280] | 57 | <table tal:define="student info/student; |
---|
| 58 | pm nocall: info/payment_doc"> |
---|
| 59 | |
---|
[1369] | 60 | <tr> |
---|
| 61 | <td width="220px">Name:</td> |
---|
| 62 | <td><span tal:content="student/name" /></td> |
---|
| 63 | </tr> |
---|
| 64 | <tr> |
---|
| 65 | <td>Student Id:</td> |
---|
| 66 | <td tal:content="student/id" /> |
---|
| 67 | </tr> |
---|
| 68 | <tr> |
---|
[2885] | 69 | <td>Registration Number:</td> |
---|
[1369] | 70 | <td tal:content="student/jamb_reg_no" /> |
---|
[1372] | 71 | </tr> |
---|
[1369] | 72 | <tr> |
---|
[1372] | 73 | <td>Matriculation Number:</td> |
---|
| 74 | <td tal:content="student/matric_no" /> |
---|
| 75 | </tr> |
---|
| 76 | <tr> |
---|
[1369] | 77 | <td>Certificate Id:</td> |
---|
| 78 | <td tal:content="student/course" /> |
---|
| 79 | </tr> |
---|
| 80 | <tr> |
---|
| 81 | <td>Faculty:</td> |
---|
| 82 | <td tal:content="student/faculty" /> |
---|
| 83 | </tr> |
---|
| 84 | <tr> |
---|
| 85 | <td>Department:</td> |
---|
| 86 | <td tal:content="student/department" /> |
---|
| 87 | </tr> |
---|
[3280] | 88 | |
---|
| 89 | |
---|
[1369] | 90 | <tr> |
---|
[3280] | 91 | <td width="220px">Payment Status:</td> |
---|
| 92 | <td><span tal:content="python:context.portal_vocabularies.payment_status.get(pm.status)" /></td> |
---|
| 93 | </tr> |
---|
| 94 | <tr> |
---|
[1371] | 95 | <td width="220px">Access Code:</td> |
---|
[2877] | 96 | <td><span tal:content="pm/order_id" /></td> |
---|
[1371] | 97 | </tr> |
---|
| 98 | <tr> |
---|
[3280] | 99 | <td width="220px">Payment Type:</td> |
---|
| 100 | |
---|
| 101 | <td><span tal:content="python:context.portal_vocabularies.payment_types.get(pm.type)" /></td> |
---|
| 102 | </tr> |
---|
[2066] | 103 | <tr> |
---|
[3280] | 104 | <td width="220px">Payment Category:</td> |
---|
| 105 | <td><span tal:content="python:context.portal_vocabularies.payment_categories.get(pm.category)" /></td> |
---|
| 106 | </tr> |
---|
| 107 | <tr> |
---|
| 108 | <td width="220px">Payment Item:</td> |
---|
| 109 | <td><span tal:content="pm/item" /></td> |
---|
| 110 | </tr> |
---|
| 111 | <tr> |
---|
| 112 | <td width="220px">Session:</td> |
---|
[3310] | 113 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(pm.session_id)" /></td> |
---|
[3280] | 114 | </tr> |
---|
| 115 | |
---|
[1371] | 116 | <tr> |
---|
[1369] | 117 | <td width="220px">Transaction Date:</td> |
---|
[3988] | 118 | <td><span tal:content='python:pm.date.strftime("%d/%m/%y %H:%M:%S")' /></td> |
---|
[1371] | 119 | </tr> |
---|
| 120 | <tr> |
---|
[3280] | 121 | <td width="220px">Amount (Naira):</td> |
---|
| 122 | <td><span tal:content="pm/amount" /></td> |
---|
| 123 | </tr> |
---|
| 124 | <tr> |
---|
[1371] | 125 | <td width="220px">Response Code:</td> |
---|
| 126 | <td><span tal:content="pm/resp_code" /></td> |
---|
| 127 | </tr> |
---|
| 128 | <tr> |
---|
| 129 | <td width="220px">Response Description:</td> |
---|
| 130 | <td><span tal:content="pm/resp_desc" /></td> |
---|
| 131 | </tr> |
---|
[1369] | 132 | </table> |
---|
| 133 | </metal:block> |
---|
| 134 | |
---|
[2048] | 135 | <metal:block tal:condition="info/is_interrupted"> |
---|
[1371] | 136 | <h3>Payment Process Interrupted!</h3> |
---|
| 137 | <br /> |
---|
| 138 | </metal:block> |
---|
[1392] | 139 | |
---|
[2048] | 140 | <metal:block tal:condition="info/unknown_code"> |
---|
| 141 | <h3>Response from Bank: "<span tal:content="info/resp_desc" />"</h3> |
---|
[1392] | 142 | <br /> |
---|
| 143 | </metal:block> |
---|
[1369] | 144 | |
---|
| 145 | </span> |
---|
| 146 | </metal:main> |
---|
| 147 | </metal:body> |
---|