summaryrefslogtreecommitdiff
path: root/sstreasury/jinja2/sstreasury/budget_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'sstreasury/jinja2/sstreasury/budget_view.html')
-rw-r--r--sstreasury/jinja2/sstreasury/budget_view.html35
1 files changed, 35 insertions, 0 deletions
diff --git a/sstreasury/jinja2/sstreasury/budget_view.html b/sstreasury/jinja2/sstreasury/budget_view.html
index 707f834..d4d37ea 100644
--- a/sstreasury/jinja2/sstreasury/budget_view.html
+++ b/sstreasury/jinja2/sstreasury/budget_view.html
@@ -222,6 +222,41 @@
{% endif %}
{% endfor %}
</div>
+
+ {% if claims is not none %}
+ <h2>Reimbursement claims</h2>
+
+ {% if claims %}
+ <table class="ui celled table">
+ <thead>
+ <tr>
+ <th class="nine wide">Purpose</th>
+ <th class="four wide">Status</th>
+ <th class="two wide">Total</th>
+ <th class="one wide">View</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for claim in claims %}
+ <tr>
+ <td>{{ claim.purpose }}</td>
+ <td>{{ claim.get_state_display() }}</td>
+ <td>{{ '${:.2f}'.format(claim.get_total()) }}</td>
+ <td>
+ <a href="{{ url('claim_view', kwargs={'id': claim.id}) }}" class="ui tiny primary icon button"><i class="eye icon"></i></a>
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+ </table>
+
+ <div class="ui warning message">
+ <p>This list will not include invoices, or other transactions tracked outside of Self Service.</p>
+ </div>
+ {% else %}
+ <p>There are no claims to display.</p>
+ {% endif %}
+ {% endif %}
{% endif %}
<div class="ui modal">
Contact (issues, pull requests, etc.) at git@yingtongli.me. Generated by cgit.