{% comment %} Payment Card Component Usage: {% include 'payments/components/payment_card.html' with payment=payment show_actions=True %} Parameters: - payment: UniversalPayment object - show_actions: Boolean to show/hide action buttons (default: False) {% endcomment %}
Payment

#{{ payment.internal_payment_id|default:payment.id|truncatechars:8 }}

{% include 'payments/components/status_badge.html' with payment=payment %}
${{ payment.amount_usd|floatformat:2 }} USD
{% if payment.currency.code != 'USD' and payment.pay_amount %}
{{ payment.pay_amount|floatformat:8 }} {{ payment.currency.code }}
{% endif %}
Provider
{{ payment.provider }}
Created {{ payment.created_at|date:"M d, H:i" }}
{% if payment.status_changed_at %}
Status Changed {{ payment.status_changed_at|date:"M d, H:i" }}
{% endif %} {% if payment.processed_at %}
Processed {{ payment.processed_at|date:"M d, H:i" }}
{% endif %} {% if payment.pay_address %}
Address {{ payment.pay_address|truncatechars:16 }}
{% endif %}
{% include 'payments/components/progress_bar.html' with payment=payment %} {% if show_actions %}
visibility View Details {% if payment.status == 'pending' or payment.status == 'confirming' %} {% endif %} {% if payment.pay_address %} {% endif %}
{% endif %}