{% extends 'timepiece/time-sheet/base.html' %} {% load timepiece_tags math_tags %} {% block title %}Timepiece Entries{% endblock %} {% block css %}{{ block.super }} {% endblock %} {% block javascript %}{{ block.super }} {% endblock %} {% block content %}
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 %} |
Name | Project | Activity | Since |
---|---|---|---|
{{ entry.user.first_name }} {{ entry.user.last_name }} | {{ entry.project.name }} | {{ entry.activity.name }} | {{ entry.start_time|date:"P" }} |