{% extends 'timepiece/contract/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Current Contracts{% endblock %} {% block content %}
Name | Start Date | End Date | Contract Hours | Hours Worked | Contract Type |
---|---|---|---|---|---|
{{ contract.name }} | {{ contract.start_date|date:'M j, Y' }} | {{ contract.end_date|date:'M j, Y' }} | {{ 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.get_type_display }} |