{% extends 'timepiece/invoice/base.html' %} {% load timepiece_tags %} {% load bootstrap_toolkit %} {% load url from future %} {% block title %}Outstanding Hours{% endblock %} {% block crumbs %} {{ block.super }}
  • / Outstanding Hours
  • {% endblock crumbs %} {% block content %}

    Outstanding Hours

    {% date_filters "date-filter" "months" 0 %}
    {{ date_form|as_bootstrap:"inline" }}
    {# Display each project type as a separate table. #} {# For each table, order by project status, then business display name, then project name. #} {% regroup project_totals by project.type.label as type_list %} {% for type in type_list %}

    Summary of {{ type.grouper }} Entries

    {% regroup type.list by project.name as project_list %} {% for project in project_list %} {% endfor %}
    Project Business Status Uninvoiced Hours
    {{ project.grouper }} {{ project.list.0.project.business.get_display_name }} {{ project.list.0.project.status.label|title }} {% get_uninvoiced_hours project.list %} {% if from_date %} Make Invoice {% else %} Make Invoice {% endif %}
    {% endfor %}
    {% endblock %}