project/templates/registration/invoice.html
changeset 1 fda1c66b25f9
child 20 486cfc8dd611
equal deleted inserted replaced
0:9a77edda77b7 1:fda1c66b25f9
       
     1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
       
     2     "http://www.w3.org/TR/html4/loose.dtd">
       
     3 <html>
       
     4 <head>
       
     5 </head>
       
     6 <body>
       
     7 <!-- TODO: Replace all New Zealand specific things in this file -->
       
     8 <table cellpadding="0" cellspacing="0" width="800px">
       
     9   <tr>
       
    10     <td>
       
    11   <!--  TODO(get an ICON) -->
       
    12   <img src="http://scipy.org/images/scipylogo.gif"
       
    13     alt="SciPy.in Logo" title="SciPy.in Logo"
       
    14     width="72" />
       
    15 <br /><br />
       
    16   </td>
       
    17   <td align="right">
       
    18       41 Hihitahi Rise<br />
       
    19       Te Haumi, Paihia 0200<br />
       
    20       Incorporated Society #2250349<br />
       
    21   </td>
       
    22 </tr>
       
    23 </table>
       
    24 <table cellpadding="0" cellspacing="0" width="800px">
       
    25 <tr>
       
    26   <td>
       
    27     <h1>New Zealand Python Users Group Incorporated</h1>
       
    28   </td>
       
    29 </tr>
       
    30 <tr>
       
    31   <td>
       
    32     <hr />
       
    33     <table cellpadding="0" cellspacing="0" width="800px">
       
    34       <tr>
       
    35         <td>Invoice Number: {{ registration.slug }}</td> 
       
    36         <td align="right">
       
    37           Date: {{ registration.submitted|date:"d F, Y"}}</td> 
       
    38       </tr>
       
    39     </table>
       
    40     <hr />
       
    41   </td>
       
    42 </tr>
       
    43 <tr>
       
    44   <td>
       
    45     <br />
       
    46     <br />
       
    47     To:<br />
       
    48     {{ user.get_profile.fullname }}<br />
       
    49     {{ user.email }}<br />
       
    50     < {{ user.username }} ><br />
       
    51   </td>
       
    52 </tr>
       
    53 <tr>
       
    54   <td>
       
    55     <br />
       
    56     <br />
       
    57   </td>
       
    58 </tr>
       
    59 <tr>
       
    60   <td>
       
    61     <table cellpadding="0" cellspacing="0" width="800px">
       
    62       <tr>
       
    63         <th align="left">Item</th> 
       
    64         <th align="right">Price</th> 
       
    65         <th align="right">Qty</th> 
       
    66         <th align="right">Amount (NZ$)</th> 
       
    67       </tr>
       
    68       <tr>
       
    69         <td colspan="4"><hr /></td>
       
    70       </tr>
       
    71       <tr>
       
    72         <td>NZPycon 2009 Attendence fee</td> 
       
    73         <td align="right">{{ registration.amount }}.00</td> 
       
    74         <td align="right">1</td> 
       
    75         <td align="right">{{ registration.amount }}.00</td> 
       
    76       </tr>
       
    77       <tr>
       
    78         <td colspan="4"><hr /></td>
       
    79       </tr>
       
    80       <tr>
       
    81         <td colspan="3"><strong>Total</strong></td>
       
    82         <td align="right"><strong>${{ registration.amount }}.00</strong></td>
       
    83       </tr>
       
    84     </table>
       
    85   </td>
       
    86 </tr>
       
    87 <tr>
       
    88   <td>
       
    89     <br />
       
    90     <br />
       
    91   </td>
       
    92 </tr>
       
    93     {% if registration.sponsor %}
       
    94 <tr>
       
    95   <td>
       
    96     As a guest of {{ registration.sponsor|title }} please ignore this invoice.
       
    97   </td>
       
    98 </tr>
       
    99     {% endif %}
       
   100     {% if registration.discount %}
       
   101 <tr>
       
   102   <td>
       
   103     Your fee has been discounted because you are a student or otherwise on a
       
   104     low income. You will be required to present your Student ID or a Community
       
   105     Services Card on arrival.
       
   106   </td>
       
   107 </tr>
       
   108     {% endif %}
       
   109     {% ifequal registration.amount 10 %}
       
   110 <tr>
       
   111   <td>
       
   112     Your fee has been discounted because you are a presenter at NZPycon 2009. 
       
   113   </td>
       
   114 </tr>
       
   115     {% endifequal %}
       
   116 <tr>
       
   117   <td><strong>Thanks for your registration!</strong>
       
   118 </tr>
       
   119 <tr>
       
   120   <td align="right">
       
   121     <br />
       
   122     {% if registration.payment %}
       
   123     {% if registration.sponsor %}
       
   124       <strong>Thank you, no payment required</strong>
       
   125     {% else %}
       
   126       <strong>Thank you, this invoice has been paid</strong>
       
   127     {% endif %}
       
   128     {% else %}
       
   129     <strong>Please pay to:</strong><br />
       
   130 New Zealand Python User Group<br />
       
   131 06-0158-0360348-00<br />
       
   132 The National Bank<br />
       
   133 Auckland University Branch<br />
       
   134 PO Box 2132<br />
       
   135     {% endif %}
       
   136   </td>
       
   137 </tr>
       
   138 </table>
       
   139 </body>
       
   140 </html>
       
   141