{% extends 'allianceauth/base.html' %} {% load static %} {% load evelinks %} {% load humanize %} {% load bootstrap %} {% block page_title %}Rotation {{ rotation.name }}{% endblock page_title %} {% block extra_css %} {% endblock extra_css %} {% block content %}

{{ rotation.name }}

{% if perms.allianceauth_pve.manage_rotations and not rotation.is_closed %}
{% endif %}
  • {% if rotation.is_closed %}

    Status

    Closed

    {% else %}

    Age

    {{ rotation.days_since }} days

    {% endif %}
  • Estimated Total

    {{ rotation.estimated_total|floatformat:0|intcomma }}

  • {% if rotation.is_closed %}
  • Actual Total

    {{ rotation.actual_total|floatformat:0|intcomma }}

  • {% endif %}
  • Tax Rate

    {{ rotation.tax_rate|floatformat }} %

Summary

{% if rotation.is_closed %} {% else %} {% endif %} {% for row in summary_first %} {% if rotation.is_closed %} {% endif %} {% endfor %}
Character SetupsActual Total Estimated TotalTotal
{{ row.character_name }} {{ row.helped_setups }}{{ row.actual_total|floatformat:0|intcomma }}{{ row.estimated_total|floatformat:0|intcomma }}
{% if rotation.is_closed %} {% else %} {% endif %} {% for row in summary_second %} {% if rotation.is_closed %} {% endif %} {% endfor %}
Character SetupsActual Total Estimated TotalTotal
{{ row.character_name }} {{ row.helped_setups }}{{ row.actual_total|floatformat:0|intcomma }}{{ row.estimated_total|floatformat:0|intcomma }}
{% if not rotation.is_closed %}

Entries

{% for entry in entries %} {% endfor %}
Date Share Count Total After Tax Total Created By
{{ entry.created_at|date:"d/m/Y G:i e" }} {{ entry.total_shares_count }} {{ entry.estimated_total_after_tax|floatformat|intcomma }} {{ entry.estimated_total|floatformat|intcomma }} {{ entry.created_by.profile.main_character.character_name }}
{% if entries.paginator.num_pages > 1 %}
    {% if entries.has_previous %}
  • «
  • 1
  • {% else %}
  • «
  • {% endif %} {% for npage in entries.paginator.page_range %} {% if npage == entries.number %}
  • {{ npage }}
  • {% elif npage > entries.number|add:"-3" and npage < entries.number|add:"3" and npage != 1 and npage != entries.paginator.num_pages %}
  • {{ npage }}
  • {% endif %} {% endfor %} {% if entries.has_next %}
  • {{ entries.paginator.num_pages }}
  • »
  • {% else %}
  • »
  • {% endif %}
{% endif %}
{% endif %} {% if perms.allianceauth_pve.manage_entries and not rotation.is_closed %} {% endif %} Back
{% if perms.allianceauth_pve.manage_rotations and not rotation.is_closed %} {% endif %} {% endblock content %}