{% extends 'core/base.html' %} {% block title %}Staff Performance - SwiftPOS{% endblock %} {% block topbar_title %}Staff Performance{% endblock %} {% block content %}
Staff Performance
Orders & sales by staff member — filtered by date & branch
{% if branches %}
{% endif %} Reset
Showing orders placed on {{ filter_date|date:"D, d M Y" }}
{% for row in staff_stats %} 0 %}class="table-success-subtle"{% endif %}> {% empty %} {% endfor %}
# Staff Branch Role Orders on {{ filter_date|date:"d M" }} Sales on {{ filter_date|date:"d M" }} ({{ currency_symbol }}) Total Orders (All Time) Total Sales ({{ currency_symbol }}) Unusual Txns
{{ forloop.counter }} {{ row.user.get_full_name|default:row.user.username }} {% if row.user.branch %} {{ row.user.branch.name }} {% else %} {% endif %} {{ row.user.get_role_display }} {% if row.orders_on_date > 0 %} {{ row.orders_on_date }} {% else %} 0 {% endif %} {{ currency_symbol }}{{ row.sales_on_date|floatformat:2 }} {{ row.total_orders }} {{ currency_symbol }}{{ row.total_sales|floatformat:2 }} {% if row.unusual_transactions %} {{ row.unusual_transactions }} {% else %} 0 {% endif %}
No staff performance data yet.
{% endblock %}