diff --git a/billard/templates/billard/accounting.html b/billard/templates/billard/accounting.html new file mode 100644 index 0000000..112beae --- /dev/null +++ b/billard/templates/billard/accounting.html @@ -0,0 +1,48 @@ +{% extends 'billard/base.html' %} +{% load display_client %} + +{% block title %}Accounting Data{% endblock %} + +{% block content %} +{% if not locations|length_is:"1" %} +
+{% csrf_token %} +
+ +
+
+{% endif %} + + + + + + + + + + + +{% for acc in accounting %} + + + + + + + +{% endfor %} +
Start-Datum:Stop-Datum:Preis Normal:Preis Happy Hour:Preis gesamt:
{{ acc.time_from }}{{ acc.time_to }}{{ acc.prize_normal }}{{ acc.prize_hh }}{{ acc.prize }}
+ +
+{% csrf_token %} + + + +
+ +{% endblock %} diff --git a/billard/templates/billard/base.html b/billard/templates/billard/base.html index 0665e45..efe6f2d 100644 --- a/billard/templates/billard/base.html +++ b/billard/templates/billard/base.html @@ -29,6 +29,7 @@