{% extends 'timepiece/base.html' %} {% load timepiece_tags %} {% load bootstrap_toolkit %} {% load url from future %} {% block title %}Payroll Summary{% endblock %} {% block crumbs %} {{ block.super }}
  • / Payroll Summary
  • {% endblock crumbs %} {% block content %}

    Reports

    {{ year_month_form|as_bootstrap:"inline" }}
    {% if unverified %}

    Warning: The following users have unverified time during this period:

    {% endif %} {% if unapproved %}

    Warning: The following users have unapproved time during this period:

    {% endif %} {% if not unverified and not unapproved %}

    All time verified and approved

    {% endif %}

    Hourly Summary

    {% if monthly_totals %} {% for name, hours, descs, all in monthly_totals %} {% for num in hours|slice:"0:2" %} {% endfor %} {% endfor %}
    Name Billable Non-Billable Total Worked Paid Leave Grand Total
    {{ name }}{{num.0|floatformat:2|default:""}} {% if num.1 %}({{num.1|floatformat:2}}%){% endif %}{{hours.2|floatformat:2}} {% for desc in descs %} {{desc.0}}:  {{desc.1|floatformat:2}} {% endfor %} {{all|floatformat:2}}
    {% else %}

    No entries found.

    {% endif %}

    Weekly Summary

    {% if weekly_totals.0.0 %} {% for date in date_headers %} {% endfor %} {% for rows, totals in weekly_totals %} {% for name, hours in rows %} {% for num in hours %} {% endfor %} {% endfor %} {% endfor %}
    Name{{date|date:"M/d"}}Overtime
    {{name}}{{num|floatformat:2}}
    {% else %}

    No entries found.

    {% endif %}
    {% endblock %}