[1294] | 1 | <metal:body use-macro="here/waeup_content_master/macros/master"> |
---|
| 2 | <metal:block fill-slot="header" |
---|
| 3 | tal:define="is_student context/isStudent; |
---|
| 4 | s_name context/getStudentNameInContext;"> |
---|
[1238] | 5 | <a href="" |
---|
| 6 | tal:attributes="href string:${context/aq_parent/absolute_url}"> |
---|
| 7 | <img tal:attributes="src string:${here/portal_url}/arrow_up.gif"/> |
---|
| 8 | Up one level |
---|
| 9 | </a> |
---|
| 10 | <h3> |
---|
[1286] | 11 | <span tal:condition="not:is_student"> |
---|
[1294] | 12 | <span tal:content="s_name" />: |
---|
[1238] | 13 | </span> |
---|
[1286] | 14 | <span tal:condition="is_student"> |
---|
| 15 | My |
---|
| 16 | </span> |
---|
[1238] | 17 | <span tal:content="here/title_or_id" /> |
---|
| 18 | </h3> |
---|
| 19 | <br /> |
---|
| 20 | </metal:block> |
---|
[1294] | 21 | <metal:main fill-slot="main" |
---|
| 22 | tal:define="info context/getPaymentsFolderInfo; |
---|
| 23 | rows info/payments; |
---|
| 24 | review_state context/getStudentReviewState"> |
---|
[1247] | 25 | |
---|
[1243] | 26 | <table class="contentListing" width="100%"> |
---|
[1238] | 27 | <tr tal:repeat="row rows" |
---|
| 28 | tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')"> |
---|
| 29 | <td> |
---|
[1368] | 30 | <a target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt" |
---|
| 31 | onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')"> |
---|
[1238] | 32 | <strong tal:content="row/title" /></a> |
---|
| 33 | </td> |
---|
| 34 | </tr> |
---|
| 35 | </table> |
---|
[1247] | 36 | <br /> |
---|
| 37 | <div> |
---|
| 38 | |
---|
[1294] | 39 | <form tal:condition="python:review_state == 'cleared_and_validated'" |
---|
| 40 | tal:attributes="action string: ${context/absolute_url}/pay_online" method="post" class="group"> |
---|
[1257] | 41 | <input type="submit" name="epayment" |
---|
| 42 | class="context" |
---|
| 43 | value="Initiate School Fee Online Payment" |
---|
| 44 | /> |
---|
[1247] | 45 | </form> |
---|
| 46 | |
---|
[1294] | 47 | <form tal:condition="python:review_state == 'returning'" |
---|
| 48 | tal:attributes="action string: ${context/absolute_url}/pay_by_sc" method="post" class="group"> |
---|
| 49 | <input type="submit" name="epayment" |
---|
| 50 | class="context" |
---|
| 51 | value="Pay School Fee by Scratch Card" |
---|
| 52 | /> |
---|
| 53 | </form> |
---|
[1247] | 54 | |
---|
| 55 | |
---|
[1294] | 56 | </div> |
---|
[1238] | 57 | </metal:main> |
---|
[1294] | 58 | </metal:body> |
---|