{% load i18n %}

{% if payment_info %}
    <dl class="dl-horizontal">
        <dt>{% trans "Sale ID" %}</dt>
        <dd>{{ payment_info.purchase_units.0.payments.captures.0.id }}</dd>
        <dt>{% trans "Status" %}</dt>
        <dd>{{ payment_info.status }}</dd>
        <dt>{% trans "Payer" %}</dt>
        <dd>{{ payment_info.payer.email_address }}</dd>
        <dt>{% trans "Last update" %}</dt>
        <dd>{{ payment_info.purchase_units.0.payments.captures.0.update_time }}</dd>
        <dt>{% trans "Total value" %}</dt>
        <dd>{{ payment_info.purchase_units.0.payments.captures.0.amount.value }}</dd>
        <dt>{% trans "Currency" %}</dt>
        <dd>{{ payment_info.purchase_units.0.payments.captures.0.amount.currency_code }}</dd>
    </dl>
{% endif %}
