{% extends 'timepiece/invoice/base.html' %} {% load timepiece_tags %} {% load url from future %} {% block title %}Edit Invoice{% endblock %} {% block crumbs %} {{ block.super }}
  • / Edit Invoice
  • {% endblock crumbs %} {% block content %}
    {% include "timepiece/invoice/_subnav.html" with invoice=invoice current="edit" %}
    {% csrf_token %} {{ invoice_form.as_p }} Delete Invoice

    Selected Entries

    {% if entries %} {% for entry in entries %} {% ifchanged entry.start_time|date:"W" %} {% endifchanged %} {% ifchanged entry.start_time|date %} {% else %} {% endifchanged %} {% endfor %}
    Date User Time Project Activity Hours Comments Remove
    Week of {% week_start entry.start_time %}
    {{ entry.start_time|date:"m/d/Y (D)" }}{{ entry.user.get_name_or_username }} {{ entry.start_time|time }} - {{ entry.end_time|time }} {{ entry.project.name }} {{ entry.activity.name }} {{ entry.hours }} {{ entry.comments|truncatewords:12 }} Remove
    {% else %}

    No entries were found

    {% endif %}
    {% endblock %}