source: remit/remit_templates/vouchers/ReimbursementRequest_review.html @ 0e4f185

client
Last change on this file since 0e4f185 was 0e4f185, checked in by Alex Dehnert <adehnert@…>, 14 years ago

Give link to documentation for download

  • Property mode set to 100644
File size: 3.1 KB
Line 
1{% extends "base.html" %}
2{% load misc %}
3
4{% block title %}Review reimbursement request for "{{ rr.name }}"{% endblock %}
5{% block content %}
6
7<h2>Review reimbursement request: {{rr.name}}</h2>
8
9{% if new %}
10<div class='messagebox infobox'>
11<h3>Request Submitted</h3>
12<p>You have successfully submitted a request for reimbursement.</p>
13</div>
14{% endif %}
15
16<table class='pretty-table reimbursement-request'>
17<tr>
18    <th>Request ID</th>
19    <td>{{rr.label}}</td>
20</tr>
21<tr>
22    <th>Short description</th>
23    <td>{{rr.name}}</td>
24</tr>
25<tr>
26    <th>Long description</th>
27    <td>{{rr.description}}</td>
28</tr>
29<tr>
30    <th>Amount</th>
31    <td>${{rr.amount}}</td>
32</tr>
33<tr>
34    <th>Term</th>
35    <td>{{rr.budget_term}}</td>
36</tr>
37<tr>
38    <th>Budget area</th>
39    <td>{{rr.budget_area.pathstr}}</td>
40</tr>
41<tr>
42    <th>Expense area</th>
43    <td>{{rr.expense_area.pathstr}}</td>
44</tr>
45<tr>
46    <th>Submitter</th>
47    <td>{{rr.submitter}}</td>
48</tr>
49<tr>
50    <th>Check recipient</th>
51    <td>
52        <p>{{rr.check_to_first_name}} {{ rr.check_to_last_name }} (email: {{rr.check_to_email}})</p>
53        <p>{{rr.check_to_addr}}</p>
54    </td>
55</tr>
56<tr>
57    <th>Documentation</th>
58    <td><a href='{{rr.documentation.backing_file.url}}'>{{rr.documentation}}</a></td>
59</tr>
60<tr>
61    <th>Request Time</th>
62    <td>{{rr.request_time}}</td>
63</tr>
64<tr>
65    <th>Approval Status (Time)</th>
66    <td>{{ rr.approval_status|approval_status }} ({{ rr.approval_time }})</td>
67</tr>
68<tr>
69    <th>Voucher Processing Time</th>
70    {%if rr.voucher%}
71    {%if rr.voucher.process_time%}
72    <td>{{rr.voucher.process_time}}</td>
73    {%else%}
74    <td>Not yet processed</td>
75    {%endif%}
76    {%else%}
77    <td>Not yet approved</td>
78    {%endif%}
79</tr>
80</table>
81
82{% if doc_form %}
83<h3>(Optional) Upload Documentation</h3>
84
85<p>If you ordered online, you may wish to upload documentation instead of providing a physical copy.</p>
86
87<form enctype="multipart/form-data" method="post" action="">
88<table class='pretty-table'>
89{{ doc_form.as_table }}
90<tr><th colspan='2'><input type='submit' name='upload_documentation' value='Upload Documentation' /></th></tr>
91</table>
92</form>
93{% endif %}
94
95{% if new %}
96{% include "vouchers/reimbursementrequest_instructions.fragment.html" %}
97{% endif %}
98
99{% if email_options %}
100<h3>Send stock emails</h3>
101{% if email_message %}
102<p>{{ email_message }}</p>
103{% endif %}
104
105<ul>
106{% for option in email_options %}
107<form method="post" action="">
108<input type='submit' name='send_email'  value='{{option.label}}'>
109<input type='hidden' name='email_name' value='{{option.name}}'>
110</form>
111{% endfor %}
112</ul>
113{% endif %}
114
115{% if approve_form %}
116<h3>Approve this reimbursement request:</h3>
117{% if approve_message %}
118<p>{{ approve_message }}</p>
119{% else %}
120{% if perms.vouchers.change_reimbursementrequest %}
121<p>Optionally, <a href='{% url admin:vouchers_reimbursementrequest_change rr.pk %}'>change this request first</a>.</p>
122{% endif %}
123<form method="post" action="">
124<table class='pretty-table'>
125{{ approve_form.as_table }}
126
127<tr>
128    <th colspan='2'><input type="submit" name="approve" value="Approve" /></td>
129</tr>
130</table>
131</form>
132{% endif %}
133{% endif %}
134
135{% endblock %}
Note: See TracBrowser for help on using the repository browser.