source: remit/remit_templates/vouchers/ReimbursementRequest_review.html

Last change on this file was 03aae73, checked in by Alex Dehnert <adehnert@…>, 11 years ago

Documentation is required now; update template appropriately

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