{% extends "timepiece/reports/base.html" %} {% load timepiece_tags bootstrap_toolkit %} {% load url from future %} {% block title %}Payroll Summary Report{% endblock %} {% block crumbs %} {{ block.super }}
  • / Payroll Summary Report
  • {% endblock crumbs %} {% block report_nav %} {% with 'payroll_summary' as active %} {{ block.super }} {% endwith %} {% endblock %} {% block report_content %}
    {{ 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 %} {% if labels.billable %} {% endif %} {% if labels.nonbillable %} {% endif %} {% if labels.leave %} {% endif %} {% for label in labels.billable %} {% endfor %} {% for label in labels.nonbillable %} {% endfor %} {% for label in labels.leave %} {% endfor %} {% for row in monthly_totals %} {% if labels.billable %} {% for entry in row.billable %} {% endfor %} {% endif %} {% if labels.nonbillable %} {% for entry in row.nonbillable %} {% endfor %} {% endif %} {% if labels.leave %} {% for entry in row.leave %} {% endfor %} {% endif %} {% endfor %}
    NameBillable Projects Total Billable HoursNon-Billable Projects Total Non-Billable HoursTotal Worked HoursPaid Leave Total Leave HoursGrand Total
    {{ label }}{{ label }}{{ label }}
    {% if row.user_id %} {{ row.name }} {% else %} {{ row.name }} {% endif %} {% if entry.hours %}{{ entry.hours|floatformat:2 }}{% endif %} {% if entry.percent %}{{ entry.percent|floatformat:1 }}%{% endif %}{% if entry.hours %}{{ entry.hours|floatformat:2 }}{% endif %} {% if entry.percent %}{{ entry.percent|floatformat:1 }}%{% endif %} {% if row.work_total %}{{ row.work_total|floatformat:2 }}{% endif %} {% if entry.hours %}{{ entry.hours|floatformat:2 }}{% endif %} {% if row.grand_total %}{{ row.grand_total|floatformat:2 }}{% endif %}
    {% 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, user_id, hours in rows %} {% for num in hours %} {% endfor %} {% endfor %} {% endfor %}
    Name{{date|date:'M j'}}Overtime
    {% if user_id %} {{ name }} {% else %} {{ name }} {% endif %} {{num|floatformat:2}}
    {% else %}

    No entries found.

    {% endif %}
    {% endblock report_content %}