{% 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" }}
{{ loot_pool.items.count }} {% translate "items" %} {% translate "valued at" %} {{ loot_pool.total_value|isk_format_full }}
{% translate "No loot added yet" %}
{% if can_edit %} {% translate "Add Loot" %} {% if participants.count == 0 %} {% translate "Tip: Payouts will be calculated automatically whether you add participants before or after loot" %} {% endif %} {% endif %} {% endif %}{% translate "To pay participants, use the action buttons in the Participants table below:" %}
{% translate "Note:" %} {% translate "Payouts are automatically recalculated when you add, remove, or change participants." %}
{% translate "Add participants to the fleet below to generate payouts. Payouts will be calculated automatically." %}
| {% translate "Character" %} | {% translate "Main Character" %} | {% translate "Role" %} | {% translate "Status" %} | {% if payout_map %}{% translate "Payout Amount" %} | {% endif %} {% if can_edit %}{% translate "Scout" %} | {% translate "Exclude" %} | {% translate "Actions" %} | {% endif %}
|---|---|---|---|---|---|---|---|
| {{ participant.character.name }} | {% if participant.main_character %} {{ participant.main_character.name }} {% if participant.main_character.id != participant.character.id %} {% endif %} {% else %} — {% endif %} | {{ participant.get_role_display }} | {% if participant.is_active %} {% translate "Active" %} {% else %} {% translate "Left" %} {% endif %} | {% if payout_map %}{% if participant.main_character.id == participant.character.id or not participant.main_character %} {% if main_char_id in payout_map %} {{ payout_map|get_item:main_char_id|isk_format_full }} {% if participant.is_scout %} {% translate "Scout" %} {% endif %} {% else %} — {% endif %} {% else %} {% translate "(grouped with main)" %} {% endif %} | {% endif %} {% if can_edit %}
{% if participant.main_character.id == participant.character.id or not participant.main_character %}
{% if main_char_id in existing_payouts %}
{% with payout_obj=existing_payouts|get_item:main_char_id %}
{% if payout_obj.status == 'pending' %}
|
{% endif %}
{% translate "No participants added yet" %}
{% if can_edit %} {% endif %} {% endif %}