{% extends 'timepiece/time-sheet/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Invoice Detail{% endblock %} {% block content %} {% invoice_subheaders 'detail' %} {% include 'timepiece/time-sheet/invoice/_invoice_detail.html' %} {% if totals %}

Totals

{% for name, hours_activities in totals %} {% for name, hours in hours_activities.1 %} {% endfor %} {% endfor %}
Activity Type Total Hours
{{ name|title }} {{ hours_activities.0 }}
{{ name|title }} {{ hours }}

{% endif %} {% endblock %}