show daily sale on location detail page

This commit is contained in:
2018-03-19 14:46:58 +01:00
parent f25ee6d198
commit a5c5c37a63
2 changed files with 24 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
{% load display_client %}
{% load display_client display_daily_sale %}
{% if location.clients.all %}
{% for cli in location.clients.all %}
{% for i in "12345678" %}
@@ -10,3 +10,8 @@
<div class="alert alert-danger">Keine Tische angelegt!</div>
</div>
{% endif %}
<div class="col">
<div class="alert alert-warning">
{{ location|display_daily_sale }}
</div>
</div>