forked from CGM_Public/pretix_original
PPv2: Make PENDING_REVIEW payments more visible in control view
This commit is contained in:
@@ -21,6 +21,17 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% if payment_info.purchase_units.0.payments %}
|
||||
<dt>{% trans "Capture status" %}</dt>
|
||||
<dd>
|
||||
{% if payment_info.purchase_units.0.payments.captures.0.status_details.reason == "PENDING_REVIEW" %}
|
||||
<span class="fa fa-warning fa-danger" data-toggle="tooltip" title="{% trans "This payment is being reviewed by PayPal. Until the review is lifted, the money will not be disbursed and the order remain in its pending state." %}"></span>
|
||||
{% endif %}
|
||||
{{ payment_info.purchase_units.0.payments.captures.0.status }}
|
||||
{% if payment_info.purchase_units.0.payments.captures.0.status_details.reason %}
|
||||
({{ payment_info.purchase_units.0.payments.captures.0.status_details.reason }})
|
||||
{% endif %}
|
||||
</dd>
|
||||
|
||||
<dt>{% trans "Last update" %}</dt>
|
||||
<dd>{{ payment_info.purchase_units.0.payments.captures.0.update_time }}</dd>
|
||||
<dt>{% trans "Total value" %}</dt>
|
||||
|
||||
Reference in New Issue
Block a user