a057bd6464
* rework economy stuff, add revenue model, unfinished code! * part 2 of economy overhaul. add views for dealing with revenue. rework expense views.
36 lines
1.1 KiB
HTML
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>
|
|
|