{% extends "cms/admin_home.html" %}
{% load thumbnail sekizai_tags danceschool_tags i18n %}
{% trans 'No' as trans_no %}
{% 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" %}
{% if current_year and not current_year == 'all' %}
{% trans "Reporting Basis" %}
{% endif %}
{% trans "Pending Payments" %}
{% trans "Submission Date" %} | {% trans "Category" %} | {% trans "Description" %} | {% trans "Hours" %} | {% trans "Total Amount" %} | {% trans "Reimbursement" %} | {% trans "Approved" %} | {% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% for this_item in unpaid_items %}
{{ 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|default:trans_no }} |
{% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% endfor %}
{% trans "Prior Payments" %}
{% trans "Payment Date" %} | {% trans "Category" %} | {% trans "Description" %} | {% trans "Hours" %} | {% trans "Total Amount" %} | {% trans "Submission Date" %} | {% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% for this_item in paid_items %}
{{ this_item.paymentDate|date:'N j, Y' }} |
{{ this_item.category }} |
{{ this_item.description }} |
{{ this_item.hours }} |
{{ this_item.total }} |
{{ this_item.submissionDate|date:'N j, Y' }} |
{% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% endfor %}
{% trans "Reimbursements" %}
{% trans "Payment Date" %} | {% trans "Category" %} | {% trans "Description" %} | {% trans "Hours" %} | {% trans "Total Amount" %} | {% trans "Submission Date" %} | {% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% for this_item in reimbursement_items %}
{{ this_item.paymentDate|date:'N j, Y' }} |
{{ this_item.category }} |
{{ this_item.description }} |
{{ this_item.hours }} |
{{ this_item.total }} |
{{ this_item.submissionDate|date:'N j, Y' }} |
{% if 'financial.change_expenseitem' in perms %}{% trans "Edit" %} | {% endif %}
{% endfor %}
{% addtoblock "js" %}
{% endaddtoblock %}
{% endblock %}