{% extends "base.html" %} {% from "_helpers.html" import format_currency, render_field, render_submit %} {% block content %} {% if not mdb_online or not proc_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 in hallofshame %} {% else %} {% endfor %}
NameBalance
{{ user }}{{ format_currency(user.balance) }}
Wow! Nobody's due!
{% for user in hallofaddicts %} {% else %} {% endfor %}
NameAmountPurchases
{{ user }}{{ format_currency(user.purchase_amount) }}{{ user.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 %}
This is just a test deployment of Warsaw Hackerspace Vending Machine Bitcoin Payments System™. Please report any issues to informatic@hackerspace.pl.
{% for item in items %}
{{ format_currency(item.value) }} {{ format_btc(from_local_currency(item.value*1.03)) }}

{{ item.name }}

{% with btc_uri = 'bitcoin:%s?amount=%s' % (config['INPUT_ADDRESS'], sat_to_btc(from_local_currency(item.value*1.03))) %} {{ config['INPUT_ADDRESS'] }} {% endwith %}
{% endfor %}

{{ bottles_purchased * 105 }}mg

Caffeine ingested

{{ bottles_purchased }}

Bottles purchased

Kowalski czuje zapach pieniędzy.

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