{% extends "timepiece/time-sheet/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 %}
    {% if project_totals %} {% for date in range_headers %} {% endfor %} {% for rows, totals in project_totals %} {% for name, user_id, hours in rows %} {% for num in hours %} {% endfor %} {% endfor %} {% for total in totals %} {% endfor %} {% endfor %}
    Name {% if trunc == 'day' %} {{ date|date:'M d' }} {% else %} {# Should switch to elif when we're no longer supporting 1.3 #} {% if date.0 == date.1 %} {{ date.0|date:'M d' }} {% else %} {{ date.0|date:'M d' }} - {{ date.1|date:'M d' }} {% endif %} {% endif %} Total
    {{ name }}{{ num|floatformat:2 }}
    Total{{ total|floatformat:2 }}
    {% else %}

    No entries found.

    {% endif %}
    {% endblock report_content %}