show both user and reimbursement_user for reimbursements

This commit is contained in:
Thomas Steen Rasmussen 2018-09-13 14:09:17 +02:00
parent ffe2fc056a
commit 794e905050
2 changed files with 8 additions and 4 deletions

View file

@ -16,7 +16,7 @@
<thead>
<tr>
<th>Camp</th>
<th>Created by</th>
<th>Created</th>
<th>Reimbursement User</th>
<th>Economy Team Notes</th>
<th>Amount</th>
@ -29,7 +29,7 @@
{% for reim in reimbursement_list %}
<tr>
<td>{{ reim.camp }}</td>
<td>{{ reim.user }}</td>
<td>{{ reim.created }} by {{ reim.user }}</td>
<td>{{ reim.reimbursement_user }}</td>
<td>{{ reim.notes|default:"N/A" }}</td>
<td>{{ reim.amount }} DKK</td>

View file

@ -1,7 +1,11 @@
<div class="panel panel-default">
<div class="panel-heading">Reimbursement Details for {{ reimbursement.pk }}</div>
<div class="panel-heading">Reimbursement Details for {{ reimbursement.pk }} for {{ reimbursement.reimbursement_user }}</div>
<div class="panel-body">
<table class="table">
<tr>
<th>Reimbursement User</th>
<td>{{ reimbursement.reimbursement_user }}</td>
</tr>
<tr>
<th>Total Amount</th>
<td>{{ reimbursement.amount }} DKK</td>
@ -16,7 +20,7 @@
</tr>
<tr>
<th>Created</th>
<td>{{ reimbursement.created }}</td>
<td>{{ reimbursement.created }} by {{ reimbursement.user }}</td>
</tr>
<tr>
<th>Expenses covered by this Reimbursement</th>