{% extends "timepiece/time-sheet/base.html" %} {% load timepiece_tags math_tags %} {% block title %}Timepiece Entries{% endblock title %} {% block bodyid %}dashboard{% endblock bodyid %} {% block content %} {% if view_entries %}
| Project | My Hours | Hours Worked | Hours Remaining | Due Date | |
|---|---|---|---|---|---|
| {{ type.grouper }}s | |||||
| {{ assignment.contract.project }} | {{ assignment.num_hours }} | {{ assignment.hours_worked|floatformat:2 }} ({% widthratio assignment.hours_worked assignment.num_hours 100 %}%) | {{ assignment.hours_remaining|floatformat:2 }} | {{ assignment.end_date }} | |
| Project | Hours Worked |
|---|---|
| {{ assignment.assignment.contract.project }} | {% bar_graph assignment.assignment.contract.project assignment.hours_worked assignment.hours %} |
| {{ entry.project__name }} | {{ entry.sum }} |
| Total {% if row.billable %}billable{% else %}non-billable{% endif %} time: | {% if row.billable %} {% ifnotequal schedule.count 0 %} {% bar_graph "" row.sum schedule.0.hours_per_week %} {% else %} {{ row.sum }} {% endifnotequal %} {% else %} {{ row.sum }} {% endif %} |
| Total time this week: | {{ current_total }} |
| Name | Project | Activity | Since |
|---|---|---|---|
| {{ entry.user.first_name }} {{ entry.user.last_name }} | {{ entry.project.name }} | {{ entry.activity.name }} | {{ entry.start_time|date:"P" }} |
| Currently there are no other active entries. | |||