{% extends 'aapayout/base.html' %} {% load i18n %} {% load humanize %} {% block page_title %}{% trans "Verification Results" %} - {{ loot_pool.fleet.name }}{% endblock %} {% block extra_css %} {% endblock %} {% block aapayout_content %}

{% trans "Payment Verification Results" %}

{% trans "Back to Payouts" %}
{% trans "Verification Results" %}
{% if loading %}
{% trans "Loading..." %}

{% trans "Verification in progress..." %}

{% trans "Checking wallet journal for matching payments. This may take a moment." %}

{% trans "Task Status:" %} {{ task_status }}

{% elif task_status == "SUCCESS" %} {% if success %}
{% trans "Verification Complete" %}

{{ verified_count }} {% trans "payout(s) verified" %} | {{ pending_count }} {% trans "still pending" %}

{% if errors %}
{% trans "Notes:" %}
    {% for error in errors %}
  • {{ error }}
  • {% endfor %}
{% endif %}

{{ verified_count }}

{% trans "Verified Payouts" %}

{{ pending_count }}

{% trans "Still Pending" %}

{% if verified_payouts %}
{% trans "Verified Payouts" %}
{% for payout in verified_payouts %} {% endfor %}
{% trans "Recipient" %} {% trans "Amount" %} {% trans "Transaction ID" %} {% trans "Verified At" %}
{{ payout.recipient.name }} {% if payout.is_scout_payout %} Scout {% endif %} {{ payout.amount|floatformat:2|intcomma }} ISK {{ payout.transaction_reference|default:"N/A" }} {{ payout.verified_at|date:"Y-m-d H:i" }}
{% endif %} {% if pending_payouts %}
{% trans "Still Pending" %}
{% trans "These payouts could not be matched to your wallet journal. You can:" %}
  • {% trans "Check if payments were actually sent" %}
  • {% trans "Manually mark them as paid from the payout list" %}
  • {% trans "Run verification again with a longer time window" %}
{% for payout in pending_payouts %} {% endfor %}
{% trans "Recipient" %} {% trans "Amount" %} {% trans "Actions" %}
{{ payout.recipient.name }} {% if payout.is_scout_payout %} Scout {% endif %} {{ payout.amount|floatformat:2|intcomma }} ISK {% trans "Mark Paid" %}
{% endif %} {% else %}
{% trans "Verification Failed" %}

{{ errors.0|default:"Unknown error occurred during verification" }}

{% trans "Try Again" %} {% endif %} {% elif task_status == "FAILURE" %}
{% trans "Verification Failed" %}

{% trans "Error:" %} {{ error|default:"Unknown error" }}

{% trans "Common issues:" %}
  • {% trans "ESI token expired or missing wallet journal scope" %}
  • {% trans "ESI service temporarily unavailable" %}
  • {% trans "Network connectivity issues" %}
{% trans "Try Again" %} {% else %}

{% trans "Task status:" %} {{ task_status }}

{% trans "Unexpected task state. Please try again." %}

{% trans "Try Again" %} {% endif %}
{% endblock %}