{% extends 'aapayout/base.html' %} {% load i18n %} {% load humanize %} {% load aapayout_filters %} {% block details %}

{% translate "Loot Payout Dashboard" %}

{% translate "Pending Payouts" %}

{{ pending_loot_pools|length }}

{{ total_pending|isk_format_full }}

{% translate "Recent Payout Sessions" %}

{{ recent_fleets|length }}

{% if pending_loot_pools %}
{% if can_view_all %}{% translate "Pending Payouts" %}{% else %}{% translate "Your Pending Payouts" %}{% endif %}
{% if can_view_all %}{% endif %} {% for pool in pending_loot_pools %} {% if can_view_all %} {% endif %} {% endfor %}
{% translate "Fleet" %} {% translate "Date" %}{% translate "FC" %}{% translate "Pending" %} {% translate "Amount" %} {% translate "Actions" %}
{{ pool.fleet.name }} {{ pool.created_at|date:"Y-m-d H:i" }}{{ pool.fleet.fleet_commander.username }} {{ pool.pending_count }} {% translate "pending" %} {{ pool.pending_amount|isk_format_full }} {% translate "View" %}
{% else %}
{% translate "No pending payouts at the moment" %}
{% endif %} {% if recent_fleets %}
{% translate "Your Recent Payout Sessions" %}
{% for fleet in recent_fleets %} {% endfor %}
{% translate "Payout Name" %} {% translate "Date" %} {% translate "Status" %} {% translate "Participants" %} {% translate "Total Value" %} {% translate "Actions" %}
{{ fleet.name }} {{ fleet.fleet_time|date:"Y-m-d H:i" }} {% if fleet.status == 'draft' %} {{ fleet.get_status_display }} {% elif fleet.status == 'active' %} {{ fleet.get_status_display }} {% elif fleet.status == 'completed' %} {{ fleet.get_status_display }} {% elif fleet.status == 'paid' %} {{ fleet.get_status_display }} {% endif %} {{ fleet.get_participant_count }} {{ fleet.get_total_loot_value|isk_format_full }} {% translate "View" %}
{% endif %} {% if recent_loot_pools %}
{% if can_view_all %}{% translate "Recent Payouts" %}{% else %}{% translate "Your Recent Payouts" %}{% endif %}
{% if can_view_all %}{% endif %} {% for pool in recent_loot_pools %} {% if can_view_all %} {% endif %} {% endfor %}
{% translate "Fleet" %} {% translate "Date" %}{% translate "FC" %}{% translate "Payouts" %} {% translate "Total Value" %} {% translate "Paid" %} {% translate "Actions" %}
{{ pool.fleet.name }} {{ pool.created_at|date:"Y-m-d H:i" }}{{ pool.fleet.fleet_commander.username }}{{ pool.total_payouts }} {{ pool.total_value|isk_format_full }} {{ pool.paid_amount|isk_format_full }} {% translate "View" %}
{% translate "Showing last 10 payout sessions" %}
{% endif %} {% if not pending_loot_pools and not recent_fleets and not recent_loot_pools %}

{% translate "Welcome to Loot Payouts!" %}

{% translate "You don't have any payouts yet." %}

{% if perms.aapayout.create_fleet %}

{% translate "Click the 'Create Loot Payout' button in the top navigation bar to create your first payout." %}

{% endif %}
{% endif %}
{% if perms.aapayout.create_fleet %} {% endif %} {% endblock %}