{% extends 'aapayout/base.html' %} {% load i18n %} {% load humanize %} {% load aapayout_filters %} {% block details %}
{{ fleet.fleet_commander.username }} | {{ fleet.fleet_time|date:"Y-m-d H:i" }} {% if fleet.battle_report %} | {% translate "Battle Report" %} {% endif %}
| {% translate "Total Loot Value" %}: | {{ payout_summary.total_loot|isk_format_full }} |
| {% translate "Corp Share" %} ({{ payout_summary.corp_share_pct|floatformat:0 }}%): | -{{ payout_summary.corp_share|isk_format_full }} |
| {% translate "Participant Pool" %}: | {{ payout_summary.participant_pool|isk_format_full }} |
| {{ payout_summary.eligible_count }} {% translate "players" %} ({{ payout_summary.scout_count }} {% translate "scouts" %}, {{ payout_summary.regular_count }} {% translate "regular" %}) × {{ payout_summary.base_share|isk_format_full }} {% translate "base" %} | |
| {% translate "Total Distributed" %}: | {{ payout_summary.total_payouts|isk_format_full }} |
| {% translate "Rounding Remainder" %}: | +{{ payout_summary.remainder|isk_format_full }} {% translate "to corp" %} |
| {% translate "Final Corp Share" %}: | {{ payout_summary.corp_final|isk_format_full }} |
{% translate "No loot added yet" %}
{% if can_edit %} {% if participants.count == 0 %}{% translate "Tip: You can add participants before or after loot - payouts are calculated automatically either way." %}
{% endif %} {% endif %}{% translate "To finalize this payout and automatically verify payments, you need to add an ESI token with wallet journal access." %}
{% translate "Required scope:" %} esi-wallet.read_character_wallet.v1
{% translate "Finalized by" %} {{ fleet.finalized_by.username }} {% translate "on" %} {{ fleet.finalized_at|date:"Y-m-d H:i" }}. {% translate "Check the 'Verified' badges below to see verification status." %}
{% translate "Use the action buttons in the Participants table to pay each player:" %}
{% translate "When done, click 'Finalize' to verify payments via ESI wallet." %}
{% translate "Individual shares are below the minimum threshold of 100M ISK per participant." %} {% translate "The full loot value of" %} {{ loot_pool.total_value|floatformat:2 }} ISK {% translate "goes to the corporation." %}
{% if can_edit and not fleet.finalized %} {% endif %}{% translate "Loot valued! Now add participants to generate payouts." %}
esi-fleets.read_fleet.v1 {% translate "scope" %}
{% elif esi_status.can_import %}
{% translate "Join a fleet in EVE Online, then click 'Import ESI' to automatically add all members" %}
{% endif %}
{% endif %}
| {% translate "Player" %} | {% translate "Characters" %} | {% translate "Status" %} | {% if payout_map %}{% translate "Payout" %} | {% endif %} {% if can_edit %}{% translate "Scout" %} | {% translate "Exclude" %} | {% translate "Actions" %} | {% endif %}
|---|---|---|---|---|---|---|
| {{ main_char.name }} | {% if group.participants|length > 1 %} {{ group.participants|length }} {% for p in group.participants %}{{ p.character.name }}{% if not forloop.last %}, {% endif %}{% endfor %} {% else %} {{ first_participant.character.name }} {% endif %} | {% if first_participant.is_active %} {% translate "Active" %} {% else %} {% translate "Left" %} {% endif %} | {% if payout_map %}{% if main_char_id in payout_map %} {{ payout_map|get_item:main_char_id|isk_format_full }} {% if group.is_scout %} {% endif %} {% else %} — {% endif %} | {% endif %} {% if can_edit %}
{% if main_char_id in existing_payouts %}
{% with payout_obj=existing_payouts|get_item:main_char_id %}
{% if not payout_obj.verified and not fleet.finalized %}
{% endif %}
{% if payout_obj.verified %}
{% else %}
{% endif %}
|
{% endif %}
{% translate "No participants added yet" %}
{% if can_edit %}{% translate "Click 'Add Manual' or 'Import ESI' above to add participants" %}
{% endif %}