{% extends 'clientsideapp/ext.html' %}
{% load i18n %}
{% block client_main %}

    <div class="page-header">
        <h3>{% trans 'conducted payments' %}</h3>
    </div>
    <table class="table table-striped table-bordered">
        <thead>
        <tr>
            <th>{% trans 'Transaction Amount (rubles)' %}</th>
            <th>{% trans 'Date of transaction' %}</th>
            <th>{% trans 'Comment' %}</th>
        </tr>
        </thead>
        <tbody>
        {% for pay in pay_history %}
            <tr>
                <td>{{ pay.amount }}</td>
                <td>{{ pay.date|date:'d b H:i' }}</td>
                <td>{{ pay.comment }}</td>
            </tr>
        {% empty %}
            <tr>
                <td colspan="3">{% trans 'You have not spent payments' %}</td>
            </tr>
        {% endfor %}
        </tbody>
    </table>

{% endblock %}