add wallet column to expo report

This commit is contained in:
Philip Sargent 2021-05-01 00:18:39 +01:00
parent 63640db81f
commit 425b534c30

View File

@ -68,7 +68,7 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
<h3>Logbooks and survey trips per day</h3>
<table class="expeditionlogbooks">
<tr><th>Date</th><th>Logged trips</th><th>Surveys</th></tr>
<tr><th>Date</th><th>Logged trips</th><th>Surveys</th><th>Wallets</th></tr>
{% regroup dateditems|dictsort:"date" by date as dates %}
{% for date in dates %}
<tr>
@ -79,7 +79,11 @@ an "S" for a survey trip. The colours are the same for people on the same trip.
<td>{% for item in date.list %}
{% if item.isSurvexBlock %}<a href="{% url "svx" item.survexfile.path %}">{{item.name}}</a><br/>{% endif %}
{% endfor %}</td>
</tr>
<td>{% for item in date.list %}
{% if item.isSurvexBlock %}
<a href="{{item.scanswallet.get_absolute_url}}">{{item.scanswallet.walletname}}</a><br/>
{% endif %}
{% endfor %}</td></tr>
{% endfor %}
</table>