1 | <metal:body use-macro="here/main_template/macros/master"> |
---|
2 | <metal:main fill-slot="main" |
---|
3 | tal:define="info context/getStudentBaseInfo; |
---|
4 | info_doc context/getDocumentInfo"> |
---|
5 | <span tal:condition="not: info"> |
---|
6 | <span tal:content="here/illegal_view" /> |
---|
7 | </span> |
---|
8 | <span tal:condition="info"> |
---|
9 | |
---|
10 | <metal:block tal:condition="python:info_doc['doc'].resp_code=='00'"> |
---|
11 | <h3>Online Payment Receipt</h3> |
---|
12 | <br /> |
---|
13 | <table tal:define="student info/student"> |
---|
14 | <tr> |
---|
15 | <td width="220px">Name:</td> |
---|
16 | <td><span tal:content="student/name" /></td> |
---|
17 | </tr> |
---|
18 | <tr> |
---|
19 | <td>Student Id:</td> |
---|
20 | <td tal:content="student/id" /> |
---|
21 | </tr> |
---|
22 | <tr> |
---|
23 | <td>Matriculation Number:</td> |
---|
24 | <td tal:content="student/matric_no" /> |
---|
25 | </tr> |
---|
26 | <tr> |
---|
27 | <td>JAMB Registration Number:</td> |
---|
28 | <td tal:content="student/jamb_reg_no" /> |
---|
29 | </tr> |
---|
30 | <tr> |
---|
31 | <td>Certificate Id:</td> |
---|
32 | <td tal:content="student/course" /> |
---|
33 | </tr> |
---|
34 | <tr> |
---|
35 | <td>Faculty:</td> |
---|
36 | <td tal:content="student/faculty" /> |
---|
37 | </tr> |
---|
38 | <tr> |
---|
39 | <td>Department:</td> |
---|
40 | <td tal:content="student/department" /> |
---|
41 | </tr> |
---|
42 | </table> |
---|
43 | <span tal:omit-tag="" |
---|
44 | tal:content="structure python: info_doc['doc'].render(layout_mode='view')" |
---|
45 | /> |
---|
46 | </metal:block> |
---|
47 | |
---|
48 | |
---|
49 | |
---|
50 | <metal:block tal:condition="python:not info_doc['doc'].resp_code"> |
---|
51 | <h3>Scratch Card Payment Receipt</h3> |
---|
52 | <br /> |
---|
53 | <table tal:define="student info/student"> |
---|
54 | <tr> |
---|
55 | <td width="220px">Name:</td> |
---|
56 | <td><span tal:content="student/name" /></td> |
---|
57 | </tr> |
---|
58 | <tr> |
---|
59 | <td>Student Id:</td> |
---|
60 | <td tal:content="student/id" /> |
---|
61 | </tr> |
---|
62 | <tr> |
---|
63 | <td>JAMB Registration Number:</td> |
---|
64 | <td tal:content="student/jamb_reg_no" /> |
---|
65 | </tr> |
---|
66 | <tr> |
---|
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> |
---|
79 | <table tal:define="pm python:info_doc['doc']"> |
---|
80 | <tr> |
---|
81 | <td width="220px">Payment Description:</td> |
---|
82 | <td><span tal:content="pm/type_description" /></td> |
---|
83 | </tr> |
---|
84 | <tr> |
---|
85 | <td width="220px">Transaction Date:</td> |
---|
86 | <td><span tal:content="python:pm.date.ISO()" /></td> |
---|
87 | </tr> |
---|
88 | </table> |
---|
89 | </metal:block> |
---|
90 | |
---|
91 | |
---|
92 | |
---|
93 | |
---|
94 | |
---|
95 | </span> |
---|
96 | </metal:main> |
---|
97 | </metal:body> |
---|