{% extends "timepiece/reports/base.html" %} {% load timepiece_tags bootstrap_toolkit %} {% load url from future %} {% block title %}Hourly Report{% endblock title %} {% 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 report_nav %} {% block report_content %}
    {% date_filters "report-filters" %}
    {{ filter_form|as_bootstrap:"horizontal" }} {% if perms.crm.export_project_time_sheet %} {% endif %}
    {% for title, summary in summaries %}

    {{ 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' }} {% elif trunc == 'year' %} {{ date.0|date:'M j' }} - {{ date.1|date:'M j Y' }} {% elif date.0 == date.1 %} {{ date.0|date:'M j' }} {% else %} {{ date.0|date:'M j' }} - {{ date.1|date:'M j' }} {% endif %} Total
    {{ name }}{{ num|floatformat:2 }}
    Total{{ total|floatformat:2 }}
    {% empty %}

    No entries found.

    {% endfor %}
    {% endblock report_content %}