project/templates/registration/manage_payments.html
changeset 290 3ea1acce0f78
parent 267 efdc1fa99ef7
child 309 861223798fa4
equal deleted inserted replaced
289:91aeddac8b80 290:3ea1acce0f78
     8 <form action="" method="post">
     8 <form action="" method="post">
     9 
     9 
    10   <fieldset>
    10   <fieldset>
    11     <legend>Payment Details</legend>
    11     <legend>Payment Details</legend>
    12     <table class="scipycon-default">
    12     <table class="scipycon-default">
       
    13       <tr>
       
    14         <th>Full Name</th>
       
    15         <th>Confirmed</th>
       
    16         <th>Payment Mode</th>
       
    17         <th>Details</th>
       
    18       </tr>
    13       {% for registrant in registrants %}
    19       {% for registrant in registrants %}
    14       <tr class="{% cycle odd,even %}">
    20       <tr class="{% cycle odd,even %}">
    15         <th>
    21         <th>
    16           <label
    22           <label
    17           {% if registrant.registrant.payment_set.get.type or registrant.registrant.payment_set.get.details %}
    23           {% if registrant.registrant.payment_set.get.type or registrant.registrant.payment_set.get.details %}
    31           {% if registrant.registrant.payment_set.get.confirmed %}
    37           {% if registrant.registrant.payment_set.get.confirmed %}
    32           checked=checked
    38           checked=checked
    33           {% endif %}
    39           {% endif %}
    34           /><br />
    40           /><br />
    35         </td>
    41         </td>
       
    42         <td>{{ registrant.registrant.payment_set.get.type }}</td>
       
    43         <td>{{ registrant.registrant.payment_set.get.details }}</td>
    36       </tr>
    44       </tr>
    37       {% endfor %}
    45       {% endfor %}
    38       <tr>
    46       <tr>
    39         <th>
    47         <th>
    40         <button class="button left" type="submit">Submit Payment Status</button>
    48         <button class="button left" type="submit">Submit Payment Status</button>