{% extends 'timepiece/project/base.html' %} {% load url from future %} {% load timepiece_tags %} {% block title %}{{ project }} Time Sheet{% endblock %} {% block crumbs %} {{ block.super }}
  • / Project Detail
  • / Project Timesheet
  • {% endblock crumbs %} {% block content %}

    {{ project }} Time Sheet ({{ from_date|date:"N j" }} — {{ to_date|date:"N j" }})

    {{ year_month_form }} {% if perms.timepiece.export_project_time_sheet %} {% endif %}
    {% if user_entries %}
    {% for entry in user_entries %} {% endfor %}
    Person Summary
    {{ entry.user__first_name }} {{ entry.user__last_name }} {{ entry.sum }}
    {% endif %} {% if activity_entries %}
    {% for entry in activity_entries %} {% endfor %}
    Activity Summary
    {{ entry.activity__name }} {{ entry.sum }}
    {% endif %}
    {% if entries %} {% for entry in entries %} {% endfor %}
    Date Person Activity Location Time In Time Out Breaks Hours Comments
    {{ entry.start_time|date:"m/d/Y (D)" }} {{ entry.user__first_name }} {{ entry.user__last_name }} {{ entry.activity__name }} {{ entry.location__name }} {{ entry.start_time|date:"P" }} {{ entry.end_time|date:"P" }} {{ entry.seconds_paused|seconds_to_hours }} {{ entry.hours }} {{ entry.comments|truncatewords:12 }}
    Total: {{ total|floatformat:2 }}
    {% else %}

    No entries exist for this time sheet.

    {% endif %}
    {% endblock %}