[4064] | 1 | <metal:body use-macro="here/slip_template/macros/master"> |
---|
| 2 | <metal:main fill-slot="main" |
---|
| 3 | tal:define="info context/getPaymentInfo;"> |
---|
| 4 | <span tal:condition="python: not info"> |
---|
| 5 | <span tal:content="here/illegal_view" /> |
---|
| 6 | </span> |
---|
| 7 | |
---|
| 8 | <span tal:condition="python: info"> |
---|
| 9 | <metal:block tal:condition="info/is_online_pmt"> |
---|
| 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> |
---|
| 22 | <td>Registration Number:</td> |
---|
| 23 | <td tal:content="student/jamb_reg_no" /> |
---|
| 24 | </tr> |
---|
| 25 | <tr> |
---|
| 26 | <td>Matriculation Number:</td> |
---|
| 27 | <td tal:content="student/matric_no" /> |
---|
| 28 | </tr> |
---|
| 29 | <tr> |
---|
| 30 | <td>Current Study Level:</td> |
---|
| 31 | <td tal:content="python:context.portal_vocabularies.student_levels.get(student['level'])" /> |
---|
| 32 | </tr> |
---|
| 33 | <tr> |
---|
| 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="" |
---|
| 47 | tal:content="structure python: info['payment_doc'].render(layout_mode='view')" |
---|
| 48 | /> |
---|
| 49 | </metal:block> |
---|
| 50 | |
---|
[5190] | 51 | |
---|
| 52 | <metal:block tal:condition="info/is_request_pmt"> |
---|
[5194] | 53 | <h3>Confirmation of Cash Payment</h3> |
---|
[5190] | 54 | <br /> |
---|
| 55 | <table tal:define="student info/student; |
---|
| 56 | pm nocall: info/payment_doc"> |
---|
[4064] | 57 | |
---|
[5190] | 58 | <tr> |
---|
| 59 | <td width="220px">Name:</td> |
---|
| 60 | <td><span tal:content="student/name" /></td> |
---|
| 61 | </tr> |
---|
| 62 | <tr> |
---|
| 63 | <td>Student Id:</td> |
---|
| 64 | <td tal:content="student/id" /> |
---|
| 65 | </tr> |
---|
| 66 | <tr> |
---|
| 67 | <td>Registration Number:</td> |
---|
| 68 | <td tal:content="student/jamb_reg_no" /> |
---|
| 69 | </tr> |
---|
| 70 | <tr> |
---|
| 71 | <td>Matriculation Number:</td> |
---|
| 72 | <td tal:content="student/matric_no" /> |
---|
| 73 | </tr> |
---|
| 74 | <tr> |
---|
| 75 | <td>Certificate Id:</td> |
---|
| 76 | <td tal:content="student/course" /> |
---|
| 77 | </tr> |
---|
| 78 | <tr> |
---|
| 79 | <td>Faculty:</td> |
---|
| 80 | <td tal:content="student/faculty" /> |
---|
| 81 | </tr> |
---|
| 82 | <tr> |
---|
| 83 | <td>Department:</td> |
---|
| 84 | <td tal:content="student/department" /> |
---|
| 85 | </tr> |
---|
| 86 | |
---|
| 87 | |
---|
| 88 | <tr> |
---|
| 89 | <td width="220px">Payment Status:</td> |
---|
| 90 | <td><span tal:content="python:context.portal_vocabularies.payment_status.get(pm.status)" /></td> |
---|
| 91 | </tr> |
---|
| 92 | <tr> |
---|
| 93 | <td width="220px">Access Code:</td> |
---|
| 94 | <td><span tal:content="pm/order_id" /></td> |
---|
| 95 | </tr> |
---|
| 96 | <tr> |
---|
| 97 | <td width="220px">Payment Type:</td> |
---|
| 98 | |
---|
| 99 | <td><span tal:content="python:context.portal_vocabularies.payment_types.get(pm.type)" /></td> |
---|
| 100 | </tr> |
---|
| 101 | <tr> |
---|
| 102 | <td width="220px">Payment Category:</td> |
---|
| 103 | <td><span tal:content="python:context.portal_vocabularies.payment_categories.get(pm.category)" /></td> |
---|
| 104 | </tr> |
---|
| 105 | <tr> |
---|
| 106 | <td width="220px">Payment Item:</td> |
---|
| 107 | <td><span tal:content="pm/item" /></td> |
---|
| 108 | </tr> |
---|
| 109 | <tr> |
---|
| 110 | <td width="220px">Session:</td> |
---|
| 111 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(pm.session_id)" /></td> |
---|
| 112 | </tr> |
---|
| 113 | |
---|
| 114 | <tr> |
---|
| 115 | <td width="220px">Date of Request:</td> |
---|
| 116 | <td><span tal:content='python:pm.date.strftime("%d/%m/%y %H:%M:%S")' /></td> |
---|
| 117 | </tr> |
---|
| 118 | <tr> |
---|
| 119 | <td width="220px">Approved Amount (Naira):</td> |
---|
| 120 | <td><span tal:content="pm/resp_approved_amount" /></td> |
---|
| 121 | </tr> |
---|
| 122 | <tr> |
---|
| 123 | <td width="220px">Response Code:</td> |
---|
| 124 | <td><span tal:content="pm/resp_code" /></td> |
---|
| 125 | </tr> |
---|
| 126 | <tr> |
---|
| 127 | <td width="220px">Response Description:</td> |
---|
| 128 | <td><span tal:content="pm/resp_desc" /></td> |
---|
| 129 | </tr> |
---|
| 130 | </table> |
---|
| 131 | </metal:block> |
---|
| 132 | |
---|
[4064] | 133 | |
---|
| 134 | |
---|
[5190] | 135 | |
---|
[4064] | 136 | <metal:block tal:condition="info/is_scratchcard_pmt"> |
---|
| 137 | <h3>Scratch Card Payment Receipt</h3> |
---|
| 138 | <br /> |
---|
| 139 | <table tal:define="student info/student; |
---|
| 140 | pm nocall: info/payment_doc"> |
---|
| 141 | |
---|
| 142 | <tr> |
---|
| 143 | <td width="220px">Name:</td> |
---|
| 144 | <td><span tal:content="student/name" /></td> |
---|
| 145 | </tr> |
---|
| 146 | <tr> |
---|
| 147 | <td>Student Id:</td> |
---|
| 148 | <td tal:content="student/id" /> |
---|
| 149 | </tr> |
---|
| 150 | <tr> |
---|
| 151 | <td>Registration Number:</td> |
---|
| 152 | <td tal:content="student/jamb_reg_no" /> |
---|
| 153 | </tr> |
---|
| 154 | <tr> |
---|
| 155 | <td>Matriculation Number:</td> |
---|
| 156 | <td tal:content="student/matric_no" /> |
---|
| 157 | </tr> |
---|
| 158 | <tr> |
---|
| 159 | <td>Certificate Id:</td> |
---|
| 160 | <td tal:content="student/course" /> |
---|
| 161 | </tr> |
---|
| 162 | <tr> |
---|
| 163 | <td>Faculty:</td> |
---|
| 164 | <td tal:content="student/faculty" /> |
---|
| 165 | </tr> |
---|
| 166 | <tr> |
---|
| 167 | <td>Department:</td> |
---|
| 168 | <td tal:content="student/department" /> |
---|
| 169 | </tr> |
---|
| 170 | |
---|
| 171 | |
---|
| 172 | <tr> |
---|
| 173 | <td width="220px">Payment Status:</td> |
---|
| 174 | <td><span tal:content="python:context.portal_vocabularies.payment_status.get(pm.status)" /></td> |
---|
| 175 | </tr> |
---|
| 176 | <tr> |
---|
| 177 | <td width="220px">Access Code:</td> |
---|
| 178 | <td><span tal:content="pm/order_id" /></td> |
---|
| 179 | </tr> |
---|
| 180 | <tr> |
---|
| 181 | <td width="220px">Payment Type:</td> |
---|
| 182 | |
---|
| 183 | <td><span tal:content="python:context.portal_vocabularies.payment_types.get(pm.type)" /></td> |
---|
| 184 | </tr> |
---|
| 185 | <tr> |
---|
| 186 | <td width="220px">Payment Category:</td> |
---|
| 187 | <td><span tal:content="python:context.portal_vocabularies.payment_categories.get(pm.category)" /></td> |
---|
| 188 | </tr> |
---|
| 189 | <tr> |
---|
| 190 | <td width="220px">Payment Item:</td> |
---|
| 191 | <td><span tal:content="pm/item" /></td> |
---|
| 192 | </tr> |
---|
| 193 | <tr> |
---|
| 194 | <td width="220px">Session:</td> |
---|
| 195 | <td><span tal:content="python:context.portal_vocabularies.sessions.get(pm.session_id)" /></td> |
---|
| 196 | </tr> |
---|
| 197 | |
---|
| 198 | <tr> |
---|
| 199 | <td width="220px">Transaction Date:</td> |
---|
| 200 | <td><span tal:content='python:pm.date.strftime("%d/%m/%y %H:%M:%S")' /></td> |
---|
| 201 | </tr> |
---|
| 202 | <tr> |
---|
| 203 | <td width="220px">Amount (Naira):</td> |
---|
| 204 | <td><span tal:content="pm/amount" /></td> |
---|
| 205 | </tr> |
---|
| 206 | <tr> |
---|
| 207 | <td width="220px">Response Code:</td> |
---|
| 208 | <td><span tal:content="pm/resp_code" /></td> |
---|
| 209 | </tr> |
---|
| 210 | <tr> |
---|
| 211 | <td width="220px">Response Description:</td> |
---|
| 212 | <td><span tal:content="pm/resp_desc" /></td> |
---|
| 213 | </tr> |
---|
| 214 | </table> |
---|
| 215 | </metal:block> |
---|
| 216 | |
---|
| 217 | <metal:block tal:condition="info/is_interrupted"> |
---|
| 218 | <h3>Payment Process Interrupted!</h3> |
---|
| 219 | <br /> |
---|
| 220 | </metal:block> |
---|
| 221 | |
---|
| 222 | <metal:block tal:condition="info/unknown_code"> |
---|
| 223 | <h3>Response from Bank: "<span tal:content="info/resp_desc" />"</h3> |
---|
| 224 | <br /> |
---|
| 225 | </metal:block> |
---|
| 226 | |
---|
| 227 | </span> |
---|
| 228 | </metal:main> |
---|
| 229 | </metal:body> |
---|