diff --git a/launderette/templates/launderette/counter_click.jinja b/launderette/templates/launderette/counter_click.jinja deleted file mode 100644 index 317a1b36..00000000 --- a/launderette/templates/launderette/counter_click.jinja +++ /dev/null @@ -1,79 +0,0 @@ -{% extends "core/base.jinja" %} - -{% macro add_product(id, content) %} -
- {% csrf_token %} - - -
-{% endmacro %} - -{% macro del_product(id, content) %} -
- {% csrf_token %} - - -
-{% endmacro %} - -{% block content %} -

{% trans %}Counter{% endtrans %}

-

{{ counter }}

-

{% trans %}Club: {% endtrans %} {{ counter.club }}

- -
-
{% trans %}Customer{% endtrans %}
-

{{ customer.user.get_display_name() }}, {{ customer.amount }} €

-
-{% if counter.type == 'BAR' %} -
-
{% trans %}Refilling{% endtrans %}
-
- {% csrf_token %} - {{ refill_form.as_p() }} - - -
-
-{% endif %} -
-
{% trans %}Selling{% endtrans %}
- {% if request.session['not_enough'] %} -

{% trans %}Not enough money{% endtrans %}

- {% endif %} -
- {% csrf_token %} - - - -
-

{% trans %}Basket: {% endtrans %}

- -

{% trans %}Total: {% endtrans %}{{ "%0.2f"|format(basket_total) }} €

-
- {% csrf_token %} - - -
-
- {% csrf_token %} - - -
-

{% trans %}Products: {% endtrans %} - {% for p in counter.products.all() %} - {{ add_product(p.id, p.name) }} - {% endfor %} -

-
- -{% endblock %} - - - diff --git a/launderette/templates/launderette/counter_edit.jinja b/launderette/templates/launderette/counter_edit.jinja deleted file mode 100644 index 865ed1f3..00000000 --- a/launderette/templates/launderette/counter_edit.jinja +++ /dev/null @@ -1,13 +0,0 @@ -{% extends "core/base.jinja" %} - -{% block content %} -

{% trans %}Edit counter{% endtrans %}

-
- {% csrf_token %} - {{ form.as_p() }} -

-
-{% endblock %} - - - diff --git a/launderette/templates/launderette/counter_main.jinja b/launderette/templates/launderette/counter_main.jinja deleted file mode 100644 index 1dcbd143..00000000 --- a/launderette/templates/launderette/counter_main.jinja +++ /dev/null @@ -1,55 +0,0 @@ -{% extends "core/base.jinja" %} - -{% macro barman_logout_link(user) %} -
- {% csrf_token %} - - -
-{% endmacro %} - -{% block content %} -

{% trans counter_name=counter %}{{ counter_name }} counter{% endtrans %}

- -
-

{% trans %}Sellings{% endtrans %}

- {% if last_basket %} -

{% trans %}Last selling: {% endtrans %}

-

{% trans %}Client: {% endtrans %}{{ last_customer }} - {% trans %}New amount: {% endtrans %}{{ new_customer_amount }} €.

- -

{% trans %}Total: {% endtrans %}{{ last_total }} €

- {% endif %} - {% if barmen %} -

{% trans %}Enter client code:{% endtrans %}

-
- {% csrf_token %} - {{ form.as_p() }} -

-
- {% else %} -

{% trans %}Please, login{% endtrans %}

- {% endif %} -
- {% if counter.type == 'BAR' %} -
-

{% trans %}Barman: {% endtrans %}

- -
- {% csrf_token %} - {{ login_form.as_p() }} -

-
-
- {% endif %} -{% endblock %} - - - diff --git a/launderette/templates/launderette/product_list.jinja b/launderette/templates/launderette/product_list.jinja deleted file mode 100644 index f9a50085..00000000 --- a/launderette/templates/launderette/product_list.jinja +++ /dev/null @@ -1,23 +0,0 @@ -{% extends "core/base.jinja" %} - -{% block title %} -{% trans %}Product list{% endtrans %} -{% endblock %} - -{% block content %} -

{% trans %}New product{% endtrans %}

-{% if product_list %} -

{% trans %}Product list{% endtrans %}

- -{% else %} -{% trans %}There is no products in this website.{% endtrans %} -{% endif %} -{% endblock %} - - - - diff --git a/launderette/templates/launderette/producttype_list.jinja b/launderette/templates/launderette/producttype_list.jinja deleted file mode 100644 index 9a686dc8..00000000 --- a/launderette/templates/launderette/producttype_list.jinja +++ /dev/null @@ -1,24 +0,0 @@ -{% extends "core/base.jinja" %} - -{% block title %} -{% trans %}Product type list{% endtrans %} -{% endblock %} - -{% block content %} -

{% trans %}New product type{% endtrans %}

-{% if producttype_list %} -

{% trans %}Product type list{% endtrans %}

- -{% else %} -{% trans %}There is no product types in this website.{% endtrans %} -{% endif %} -{% endblock %} - - - - - diff --git a/launderette/templates/launderette/user_account.jinja b/launderette/templates/launderette/user_account.jinja deleted file mode 100644 index 02283eb3..00000000 --- a/launderette/templates/launderette/user_account.jinja +++ /dev/null @@ -1,86 +0,0 @@ -{% extends "core/user_base.jinja" %} - -{% block title %} -{% trans user_name=profile.get_display_name() %}{{ user_name }}'s account{% endtrans %} -{% endblock %} - -{% block infos %} -

{% trans %}User account{% endtrans %}

-

{% trans %}Amount: {% endtrans %}{{ customer.amount }} €

-{% if customer.refillings.exists() %} -

{% trans %}Refillings{% endtrans %}

- - - - - - - - - - {% for i in customer.refillings.all() %} - - - - - -{% endfor %} - -
{% trans %}Date{% endtrans %}{% trans %}Barman{% endtrans %}{% trans %}Amount{% endtrans %}
{{ i.date|localtime|date(DATETIME_FORMAT) }} - {{ i.date|localtime|time(DATETIME_FORMAT) }}{{ i.operator }}{{ i.amount }} €
-{% endif %} -{% if customer.buyings.exists() %} -

{% trans %}Buyings{% endtrans %}

- - - - - - - - - - - - {% for i in customer.buyings.all() %} - - - - - - - -{% endfor %} - -
{% trans %}Date{% endtrans %}{% trans %}Barman{% endtrans %}{% trans %}Product{% endtrans %}{% trans %}Quantity{% endtrans %}{% trans %}Total{% endtrans %}
{{ i.date|localtime|date(DATETIME_FORMAT) }} - {{ i.date|localtime|time(DATETIME_FORMAT) }}{{ i.seller }}{{ i.product }}{{ i.quantity }}{{ i.quantity * i.unit_price }} €
-{% endif %} -{% if customer.user.invoices.exists() %} -

{% trans %}Invoices{% endtrans %}

- - - - - - - - - - {% for i in customer.user.invoices.all() %} - - - - - -{% endfor %} - -
{% trans %}Date{% endtrans %}{% trans %}Items{% endtrans %}{% trans %}Amount{% endtrans %}
{{ i.date|localtime|date(DATETIME_FORMAT) }} - {{ i.date|localtime|time(DATETIME_FORMAT) }} -
    - {% for it in i.items.all() %} -
  • {{ it.product_name }} - {{ it.product_unit_price }} €
  • - {% endfor %} -
-
{{ i.get_total() }} €
-{% endif %} -{% endblock %} - - -