{% extends 'timepiece/invoice/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Invoice Detail{% endblock %} {% block crumbs %} {{ block.super }}
  • / Invoice Detail
  • {% endblock crumbs %} {% block content %}
    {% include "timepiece/invoice/_subnav.html" with invoice=invoice current="detail" %}
    {% include 'timepiece/invoice/_invoice.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 %}