client
Last change
on this file since 3a0c51b was
3e79308,
checked in by Alex Dehnert <adehnert@…>, 15 years ago
|
Don't let you approve a non-pending request
|
-
Property mode set to
100644
|
File size:
1.5 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 | <table class='pretty-table reimbursement-request'> |
---|
10 | <tr> |
---|
11 | <th>Short description</th> |
---|
12 | <td>{{rr.name}}</td> |
---|
13 | </tr> |
---|
14 | <tr> |
---|
15 | <th>Long description</th> |
---|
16 | <td>{{rr.description}}</td> |
---|
17 | </tr> |
---|
18 | <tr> |
---|
19 | <th>Amount</th> |
---|
20 | <td>${{rr.amount}}</td> |
---|
21 | </tr> |
---|
22 | <tr> |
---|
23 | <th>Term</th> |
---|
24 | <td>{{rr.budget_term}}</td> |
---|
25 | </tr> |
---|
26 | <tr> |
---|
27 | <th>Budget area</th> |
---|
28 | <td>{{rr.budget_area.pathstr}}</td> |
---|
29 | </tr> |
---|
30 | <tr> |
---|
31 | <th>Expense area</th> |
---|
32 | <td>{{rr.expense_area.pathstr}}</td> |
---|
33 | </tr> |
---|
34 | <tr> |
---|
35 | <th>Submitter</th> |
---|
36 | <td>{{rr.submitter}}</td> |
---|
37 | </tr> |
---|
38 | <tr> |
---|
39 | <th>Check recipient</th> |
---|
40 | <td> |
---|
41 | <p>{{rr.check_to_first_name}} {{ rr.check_to_last_name }} (email: {{rr.check_to_email}})</p> |
---|
42 | <p>{{rr.check_to_addr}}</p> |
---|
43 | </td> |
---|
44 | </tr> |
---|
45 | <tr> |
---|
46 | <th>Request Time</th> |
---|
47 | <td>{{rr.request_time}}</td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <th>Approval Status (Time)</th> |
---|
51 | <td>{{ rr.approval_status|approval_status }} ({{ rr.approval_time }})</td> |
---|
52 | </tr> |
---|
53 | <tr> |
---|
54 | <th>Printing Time</th> |
---|
55 | <td>{{rr.printing_time}}</td> |
---|
56 | </tr> |
---|
57 | </table> |
---|
58 | |
---|
59 | {% if approve_form %} |
---|
60 | <h3>Request Approval</h3> |
---|
61 | {% if approve_message %} |
---|
62 | <p>{{ approve_message }}</p> |
---|
63 | {% else %} |
---|
64 | <form method="post" action=""> |
---|
65 | <table class='pretty-table'> |
---|
66 | {{ approve_form.as_table }} |
---|
67 | |
---|
68 | <tr> |
---|
69 | <th colspan='2'><input type="submit" name="approve" value="Approve" /></td> |
---|
70 | </tr> |
---|
71 | </table> |
---|
72 | </form> |
---|
73 | {% endif %} |
---|
74 | {% endif %} |
---|
75 | |
---|
76 | {% endblock %} |
---|
Note: See
TracBrowser
for help on using the repository browser.