{% extends 'account_layout.html' %}
{% load i18n %}
{% load static %}

{% block pagetitle %}{% trans 'Payments' %}{% endblock %}
{% block account_content_outer %}
<table class="flat-table">
    <thead>
        <tr>
            <td>{% trans 'Date' %}</td>
            <td>{% trans 'Value' %}</td>
            <td>{% trans 'Status' %}</td>
        </tr>
    </thead>
    <tbody>
        {% for payment in payments %}
            <tr>
                <td>{{ payment.created|date:'Y-m-d H:i' }}</td>
                <td>{{ payment.time }}
                    ({{ payment.get_amount_display }})
                </td>
                <td>{{ payment.get_status_display }}</td>
            </tr>
        {% endfor %}
    </tbody>
</table>
{% endblock %}
