source: WAeUP_SRP/trunk/skins/waeup_accommodation/pay_accommodation_form.pt @ 9806

Last change on this file since 9806 was 7187, checked in by Henrik Bettermann, 13 years ago

Use correct acco_maint_code (in custom but not yet tested).

File size: 2.2 KB
Line 
1<tal:block define="
2                   rendered_main options/rendered;
3                   portal_status_message options/psm;
4                   data_storage options/ds|nothing;
5                   mode options/mode;
6                   info python: context.getAccommodationStatus();
7                   maintenance_online info/online_payment|nothing;                 
8                   ">
9<metal:block define-macro="edit_form">
10  <metal:block use-macro="here/main_template/macros/master">
11  <metal:block fill-slot="header">
12    </metal:block>
13      <metal:block fill-slot="main">
14     
15        <h3>Pay Your Accommodation Maintenance Fee! </h3>
16        <br />
17
18        <div tal:replace="structure rendered_main" />
19       
20        <p tal:condition="not: maintenance_online">Instructions :</p>
21       
22        <ul tal:condition="not: maintenance_online">
23             <li>Buy a Hostel Maintenance Scratch Card
24               (Code: <span tal:replace="info/acco_maint_code" />) for
25               <span tal:replace="info/acco_maint_fee" /> Nairas</li>
26             <li>Enter the PIN above and press 'Submit'.</li>
27             <li>Print your Hostel Maintenance Receipt.</li>
28        </ul>
29       
30        <tal:block condition="maintenance_online">
31            <table tal:condition="not: info/maintenance_paid">
32              <tr >
33                <form action="pay_interswitch_acco" method="post"
34                      enctype="multipart/form-data" class="workflow"
35                      >
36                  <input type="hidden"
37                         name="paytype"
38                         tal:attributes="value info/acco_maint_code"
39                         />
40                  <td colspan="2"> 
41                    <input type="submit"
42                           class="standalone"
43                           name="cpsdocument_create_button"
44                           value="Pay Maintenance Fee Online"
45                           />
46                  </td>
47                </form>
48              </tr>
49            </table>
50        </tal:block>
51
52      </metal:block>
53      <metal:block fill-slot="sub">
54      </metal:block>
55    </metal:block>
56  </metal:block>
57</tal:block>
Note: See TracBrowser for help on using the repository browser.