{% 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 |
---|---|
Current Entry | |
{{ entry.project }} | {% get_active_hours entry %} |
{{ assignment.assignment.contract.project }} | {% bar_graph assignment.assignment.contract.project assignment.hours_worked assignment.hours %} |
Past Entries | |
{{ entry.project__name }} | {{ entry.sum }} |
Time Totals | |
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 }} |