{% extends "timepiece/reports/base.html" %} {% load timepiece_tags bootstrap_toolkit %} {% load url from future %} {% block title %}Hourly Report{% endblock %} {% block extrajs %} {{ pj_filters.media }} {% endblock extrajs %} {% block bodyid %}hourly-report{% endblock bodyid %} {% block crumbs %} {{ block.super }}
  • / Hourly Report
  • {% endblock crumbs %} {% block report_nav %} {% with 'hourly_report' as active %} {{ block.super }} {% endwith %} {% endblock %} {% block report_content %}
    {% date_filters "report-filters" %}
    {{ filter_form|as_bootstrap:"horizontal" }} {% if perms.timepiece.export_project_time_sheet %} {% endif %}
    {% for title, summary in summaries.items %}

    {{ title }}

    {% for date in range_headers %} {% endfor %} {% for rows, totals in summary %} {% for name, pk, hours in rows %} {% for num in hours %} {% endfor %} {% endfor %} {% for total in totals %} {% endfor %} {% endfor %}
    Name {% if trunc == 'day' %} {{ date|date:'M j' }} {% else %} {# Should switch to elif when we're no longer supporting 1.3 #} {% if date.0 == date.1 %} {{ date.0|date:'M j' }} {% else %} {{ date.0|date:'M j' }} - {{ date.1|date:'M j' }} {% endif %} {% endif %} Total
    {{ name }}{{ num|floatformat:2 }}
    Total{{ total|floatformat:2 }}
    {% empty %}

    No entries found.

    {% endfor %}
    {% endblock report_content %}