{% extends "base.html" %} {% from "_helpers.html" import format_currency, render_field, render_submit %} {% block content %} {% if not mdb_online %}
Some of the subsystems are misbehaving. Please avoid making payments, unless in absolute need of Mate.
{% endif %} {% if current_user.is_authenticated %}

Balance {{ format_currency(current_user.amount_available) }} / {{ format_currency(current_user.balance) }}

Transactions {{ current_user.transactions.count() }}

Use the keypad to select a product.

{% if current_transaction %} Cancel transaction {% if current_transaction.user != current_user %} (by {{ current_transaction.user }}) {% endif %} {% else %} Begin transaction {% endif %}
{{ transfer_form.hidden_tag() }}
{% for user, balance in hallofshame %} {% else %} {% endfor %}
NameBalance
{{ user }}{{ format_currency(balance) }}
Wow! Nobody's due!
{% for user, purchase_amount, purchase_count in hallofaddicts_30d %} {% else %} {% endfor %}
NameAmountPurchases
{{ user }}{{ format_currency(purchase_amount) }}{{ purchase_count }}
Huh?
{% for user, purchase_amount, purchase_count in hallofaddicts %} {% else %} {% endfor %}
NameAmountPurchases
{{ user }}{{ format_currency(purchase_amount) }}{{ purchase_count }}
Huh?
{% for tx in transactions %} {% else %} {% endfor %} {% if transactions.count() == 10 %} {% endif %}
Type Amount Date
{{ tx.type }} {% if not tx.finished %}(processing){% endif %} {% if tx.type == 'transfer' and tx.amount > 0 %} from {{ tx.related }} {% elif tx.type == 'transfer' and tx.amount < 0 %} to {{ tx.related }} {% elif tx.type == 'purchase' and tx.product_id %} of product {{ tx.product_id }} {% endif %} {{ format_currency(tx.amount) }} {{ tx.created }}
Nothing to see here...
See more...

{% endif %}

{{ bottles_purchased * 105 }}mg

Caffeine ingested

{{ bottles_purchased }}

Bottles purchased

Kowalski czuje zapach pieniędzy.

Someone famous
{% endblock %} {% block tail_js %} {% endblock %}