source: remit/remit_templates/vouchers/reimbursementrequest_list.html @ 6e43384

client
Last change on this file since 6e43384 was 6e43384, checked in by Alex Dehnert <adehnert@…>, 15 years ago

Let users view history of requests (Trac: #26)

  • Property mode set to 100644
File size: 1.3 KB
Line 
1{% extends "base.html" %}
2{% load misc %}
3
4{% block title %}List reimbursement requests{% endblock %}
5{% block content %}
6
7<h2>List Reimbursement Requests</h2>
8
9{%if useronly%}
10<p>Displaying only vouchers related to you.</p>
11{%else%}
12<p>You have permission to list all vouchers.</p>
13{%endif%}
14
15<table class='pretty-table'>
16<tr>
17    <th>#</th>
18    <th>Name</th>
19    <th>Amount</th>
20    <th>Check to</th>
21    <th>Accounts</th>
22    <th>Approval state (date)</th>
23</tr>
24
25{% for object in object_list %}
26<tr>
27    <td><a href='{% url review_request object.pk %}'>{{ object.pk }}</a></td>
28    <td><a href='{% url review_request object.pk %}'>{{ object.name }}</a></td>
29    <td>${{ object.amount }}</td>
30    <td>
31        {{ object.check_to_first_name }} {{ object.check_to_last_name }}<br />
32        <a href='mailto:{{ object.check_to_email }}'>{{ object.check_to_email }}</a><br />
33        (Submitter {{ object.submitter }})
34    </td>
35    <td>
36        Term: {{ object.budget_term }}<br />
37        Budget: {{ object.budget_area|budgetarea_pathstr:3 }}<br />
38        GL: {{ object.expense_area|budgetarea_pathstr:2 }}
39    </td>
40    <td class='request-status-{{ object.approval_status|approval_status_class}}'>
41        {{ object.approval_status|approval_status }} ({{ object.approval_time }})
42    </td>
43</tr>
44{% endfor %}
45</table>
46
47{% endblock %}
Note: See TracBrowser for help on using the repository browser.