{% extends 'timepiece/invoice/base.html' %} {% load timepiece_tags bootstrap_toolkit %} {% load url from future %} {% block title %}Invoices{% endblock %} {% block content %}

All Invoices

{{ search_form|as_bootstrap:"inline" }}
{% load pagination_tags %}
{% if invoices %} {% autopaginate invoices %} {% paginate %} {% for invoice in invoices %} {% endfor %}
Invoice Reference Project Status Invoiced by Created on Starting on Ending on Comments
{{ invoice.pk }} {{ invoice.number|default:'' }} {{ invoice.project }} {{ invoice.status|capfirst }} {{ invoice.user.get_name_or_username }} {{ invoice.created|date:'M j, Y P' }} {{ invoice.start|date:'M j, Y'}} {{ invoice.end|date:'M j, Y'}} {{ invoice.comments|truncatewords:12 }}
{% paginate %} {% else %}

There are no invoices.

{% endif %}
{% endblock %}