bornhack-website/src/economy/templates/includes/revenue_detail_panel.html
Thomas Steen Rasmussen a057bd6464
Revenue and economy revamp (#285)
* rework economy stuff, add revenue model, unfinished code!

* part 2 of economy overhaul. add views for dealing with revenue. rework expense views.
2018-11-20 17:12:32 +01:00

36 lines
1.1 KiB
HTML

<div class="panel panel-default">
<div class="panel-heading">Revenue Details for {{ revenue.pk }}</div>
<div class="panel-body">
<table class="table">
<tr>
<th>Amount</th>
<td>{{ revenue.amount }} DKK</td>
</tr>
<tr>
<th>Description</th>
<td>{{ revenue.description }}</td>
</tr>
<tr>
<th>Filename</th>
<td>{{ revenue.invoice }}</td>
</tr>
<tr>
<th>Approved?</th>
<td>{{ revenue.approval_status }}</td>
</tr>
<tr>
<th>Invoice</th>
<td>
<a href="{% url 'economy:revenue_invoice' camp_slug=camp.slug pk=revenue.pk %}"><img src="{% url 'economy:revenue_invoice' camp_slug=camp.slug pk=revenue.pk %}?preview" height=200></a><br>
Filename: {{ revenue.invoice_filename }}
</td>
</tr>
<tr>
<th>Economy Team Notes</th>
<td>{{ revenue.notes|default:"N/A" }}</td>
</tr>
</table>
</div>
</div>