{% extends "dashboard/base.html" %} {% block title %}Transactions{% endblock %} {% block content %}

Transaction Log

{{ total_count }} total transaction{{ 's' if total_count != 1 else '' }}
{% if transactions %} {% for tx in transactions %} {% endfor %}
Timestamp Service Buyer Provider Amount Method Latency Status Tx Hash
{{ tx.timestamp[:19] }} {{ tx.service_id[:16] }} {{ tx.buyer_id[:16] }} {{ tx.provider_id[:16] }} ${{ "%.4f"|format(tx.amount_usd) }} {{ tx.payment_method }} {{ tx.latency_ms }} ms {% if tx.status_code < 400 %} {{ tx.status_code }} {% elif tx.status_code < 500 %} {{ tx.status_code }} {% else %} {{ tx.status_code }} {% endif %} {{ tx.payment_tx[:12] ~ '...' if tx.payment_tx else '-' }}
{% if total_pages > 1 %}
Page {{ current_page }} of {{ total_pages }}
{% if current_page > 1 %} Prev {% endif %} {% for p in page_range %} {{ p }} {% endfor %} {% if current_page < total_pages %} Next {% endif %}
{% endif %} {% else %}
No transactions found
{% endif %}
{% endblock %}