{% extends "cms/admin_home.html" %} {% load thumbnail sekizai_tags danceschool_tags i18n %} {% block content %}

{% blocktrans with name=staff_member.fullName %}Payment History for {{ name }}{% endblocktrans %}

{% trans "Download Expense History" %}{% if current_year != "all" %} {% trans "for this year" %}{% endif %} (CSV)
{% trans "Total Pending Payments" %}:
{{ total_awaiting_payment }}
{% trans "Total Paid (All Time, excludes reimbursements)" %}:
{{ total_paid_alltime }}
{% trans "Total Paid (This Year, excludes reimbursements)" %}:
{{ total_paid_this_year }}
{% trans "Total Costs Reimbursements (This Year)" %}:
{{ total_reimbursements }}

{% trans "Filter By Year" %}

{% trans "All" %} {% for year in eligible_years %} {{ year }} {% endfor %}
{% if current_year and not current_year == 'all' %}

{% trans "Reporting Basis" %}

{% endif %}

{% trans "Pending Payments" %}

{% if 'financial.change_expenseitem' in perms %}{% endif %} {% for this_item in unpaid_items %} {% if 'financial.change_expenseitem' in perms %}{% endif %} {% endfor %}
{% trans "Submission Date" %}{% trans "Category" %}{% trans "Description" %}{% trans "Hours" %}{% trans "Total Amount" %}{% trans "Reimbursement" %}{% trans "Approved" %}{% trans "Edit" %}
{{ this_item.submissionDate|date:'N j, Y' }} {{ this_item.category }} {{ this_item.description }} {{ this_item.hours }} {{ this_item.total }} {{ this_item.reimbursement|yesno }} {{ this_item.approved|yesno }}{% trans "Edit" %}

{% trans "Prior Payments" %}

{% if 'financial.change_expenseitem' in perms %}{% endif %} {% for this_item in paid_items %} {% if 'financial.change_expenseitem' in perms %}{% endif %} {% endfor %}
{% trans "Payment Date" %}{% trans "Category" %}{% trans "Description" %}{% trans "Hours" %}{% trans "Total Amount" %}{% trans "Submission Date" %}{% trans "Edit" %}

{% trans "Reimbursements" %}

{% if 'financial.change_expenseitem' in perms %}{% endif %} {% for this_item in reimbursement_items %} {% if 'financial.change_expenseitem' in perms %}{% endif %} {% endfor %}
{% trans "Payment Date" %}{% trans "Category" %}{% trans "Description" %}{% trans "Hours" %}{% trans "Total Amount" %}{% trans "Submission Date" %}{% trans "Edit" %}
{% addtoblock "js" %} {% endaddtoblock %} {% endblock %}