1 {% extends "base.html" %} |
1 {% extends "base.html" %} |
2 |
2 |
3 {% block title %}Manage Payments - {% endblock %} |
3 {% block title %}Manage Payments - {% endblock %} |
|
4 |
|
5 {% block addscripts %} |
|
6 <script type="text/javascript"> |
|
7 |
|
8 $(document).ready(function(){ |
|
9 {% for registrant in registrants %} |
|
10 $("#date_id_{{ registrant.registrant.id }}").datepicker(); |
|
11 {% endfor %} |
|
12 |
|
13 }); |
|
14 |
|
15 </script> |
|
16 {% endblock addscripts %} |
4 |
17 |
5 {% block content %} |
18 {% block content %} |
6 <h1>Manage Payments</h1> |
19 <h1>Manage Payments</h1> |
7 |
20 |
8 <form action="" method="post"> |
21 <form action="" method="post"> |
31 {{ registrant.registrant.get_full_name }} |
44 {{ registrant.registrant.get_full_name }} |
32 </label> |
45 </label> |
33 </th> |
46 </th> |
34 <td> |
47 <td> |
35 {{ field.errors }} |
48 {{ field.errors }} |
36 <input id="user_id_{{ registrant.registrant.id }}" |
49 <input id="confirmed_id_{{ registrant.registrant.id }}" |
37 name="registrant_id_{{ registrant.registrant.id }}" |
50 name="confirmed_id_{{ registrant.registrant.id }}" |
38 type="checkbox" name="registration_confirmed" |
51 type="checkbox" name="registration_confirmed" |
39 {% if registrant.registrant.payment_set.get.confirmed %} |
52 {% if registrant.registrant.payment_set.get.confirmed %} |
40 checked=checked |
53 checked=checked |
41 {% endif %} |
54 {% endif %} |
42 /><br /> |
55 /><br /> |
43 </td> |
56 </td> |
44 <td> |
57 <td> |
45 {{ field.errors }} |
58 {{ field.errors }} |
46 <input id="user_id_{{ registrant.registrant.id }}" |
59 <input id="acco_id_{{ registrant.registrant.id }}" |
47 name="registrant_id_{{ registrant.registrant.id }}" |
60 name="acco_id_{{ registrant.registrant.id }}" |
48 type="checkbox" name="accommodation_confirmed" |
61 type="checkbox" |
49 {% if registrant.registrant.payment_set.get.acc_confirmed %} |
62 {% if registrant.registrant.payment_set.get.acco_confirmed %} |
50 checked=checked |
63 checked=checked |
51 {% endif %} |
64 {% endif %} |
52 /><br /> |
65 /><br /> |
53 </td> |
66 </td> |
54 <td> |
67 <td> |
55 {{ field.errors }} |
68 {{ field.errors }} |
56 <input id="user_id_{{ registrant.registrant.id }}" |
69 <input id="date_id_{{ registrant.registrant.id }}" |
57 name="registrant_id_{{ registrant.registrant.id }}" |
70 name="date_id_{{ registrant.registrant.id }}" |
58 type="text" name="date_of_payment"/><br /> |
71 type="text" |
|
72 {% if registrant.registrant.payment_set.get.date_confirmed %} |
|
73 value="{{ registrant.registrant.payment_set.get.date_confirmed|date:"m/d/Y" }}" |
|
74 {% endif %} |
|
75 /><br /> |
59 </td> |
76 </td> |
60 <td>{{ registrant.registrant.payment_set.get.type }}</td> |
77 <td>{{ registrant.registrant.payment_set.get.type }}</td> |
61 <td>{{ registrant.registrant.payment_set.get.details }}</td> |
78 <td>{{ registrant.registrant.payment_set.get.details }}</td> |
62 </tr> |
79 </tr> |
63 {% endfor %} |
80 {% endfor %} |