{% extends "base-apply.html" %} {% load render_table from django_tables2 %} {% load i18n static markdown_tags nh3_tags heroicons %} {% block title %}{% trans "Dashboard" %}{% endblock %} {% block content %} {% adminbar %} {% slot header %}{% trans "Dashboard" %}{% endslot %} {% if perms.wagtailadmin.access_admin %} {% heroicon_solid "cog-6-tooth" size=20 class="me-1 inline align-text-bottom" aria_hidden=true %} {% trans "Administration" %} {% endif %} {% endadminbar %}
{% if my_tasks.count %} {% include "dashboard/includes/my-tasks.html" with mytasks=mytasks %} {% endif %}

{% trans 'Invoices' %}

{# Active invoices tab #}
{% if active_invoices.count %} {% render_table active_invoices.table %} {% else %}
{% trans "No Active Invoices" %}
{% endif %}
{# Waiting for approval tab #}
{% if invoices_for_approval.count %} {% render_table invoices_for_approval.table %} {% else %}
{% trans "No Invoices for Approval " %}
{% endif %}
{# Waiting for conversion tab #}
{% if invoices_to_convert.count %} {% render_table invoices_to_convert.table %} {% else %}
{% trans "No Invoices for Conversion " %}
{% endif %}
{% if paf_for_review.count %}

{% trans "PAFs for review" %}

{% render_table paf_for_review.table %}
{% endif %}
{% endblock %} {% block extra_js %} {{ my_reviewed.filterset.form.media.js }} {% endblock %}