{% extends 'timepiece/contract/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Current Contracts{% endblock title %} {% block bodyid %}contracts{% endblock bodyid %} {% block extrajs %} {% endblock extrajs %} {% block content %}
Name | Start Date | End Date | Contract Hours | Hours Worked | Progress: days elapsed/hours worked | Contract Type | |
---|---|---|---|---|---|---|---|
Billable | Non-billable | ||||||
{{ contract.name }} | {{ contract.start_date|date:'M j, Y' }} | {{ contract.end_date|date:'M j, Y' }} {% if contract.end_date >= today and contract.end_date < warning_date %} {% endif %} | {{ contract.contracted_hours|floatformat:2 }} {% if contract.pending_hours %} (+{{ contract.pending_hours|floatformat:2 }}) {% endif %} | {{ contract.hours_worked|floatformat:2 }} ({% widthratio contract.hours_worked contract.contracted_hours 100 %}%) | {{ contract.nonbillable_hours_worked|floatformat:2 }} | {{ contract.get_type_display }} |