{% load staticfiles %} {% load url from future %} {% load i18n %} {% block head %} Kassensystem {% endblock %}
{% block content %}

{% blocktrans with firstname=user.first_name %}Welcome, {{ firstname }}!{% endblocktrans %}

{% trans "Account information" %}
{% trans "Username:" %}
{{ user.username }}
{% trans "Full name:" %}
{{ user.first_name }} {{ user.last_name }}
{% trans "E-Mail address:" %}
{{ user.email }}
{% trans "Guthaben:" %}
{{ user.account.credit|floatformat:2 }}€
{% trans "Last purchased products" %}
{% include "cash/includes/product_list.html" with products=latest_purchases class="col-xs-6 col-md-4" only %}
{% trans "Your transactions in the last 12 hours" %}
{% if latest_transactions %} {% include "cash/includes/transaction_list.html" with transactions=latest_transactions only %} {% else %}
{% blocktrans %}There where no transactions in your account in the last 12 hours.{% endblocktrans %}
{% endif %}
{% endblock %}