{% extends 'timepiece/time-sheet/base.html' %} {% load timepiece_tags %} {% block title %}{{ person.get_full_name }} Hourly Summary{% endblock %} {% block content %}

{{ person.first_name }} {{ person.last_name}}'s Hourly Summary ({{ window.date|date:"N j" }} — {{ window.end_date|date:"N j" }})

{% if grouped_totals %} {% for week, week_totals, days in grouped_totals %} {% for day, projects in days %} {% for project, totals in projects.1.iteritems %} {% endfor %} {% endfor %} {% endfor %}
Week of {{ week|date:"m/d/Y (D)" }} Billable: Non Billable: Total:
{% if forloop.counter == 1 %} {{day|date:"m/d/Y (D)"}} {% endif %} {{project}} {{totals.billable}} {{totals.non_billable}} {{totals.total}}
{{day|date:"D"}}: {{projects.0.billable}} {{projects.0.non_billable}} {{projects.0.total}}
Totals for this week: {{week_totals.billable}} {{week_totals.non_billable}} {{week_totals.total}}
 
Overall total for the period: {{ total|floatformat:2 }}
{% else %}

No entries exist for this time sheet.

{% endif %}
{% endblock %}