{% extends 'layouts/app.html' %} {% import 'macros/items.html' as items %} {% import 'macros/form.html' as f with context %} {% import 'macros/user.html' as account %} {% block title %}Admin - Invoices / List{% endblock %} {% block body %}
Try limiting or removing your search terms.
{% else %}There are no invoices present, you should market your service.
{% endif %} {% else %}| {{ items.sort('created_on', 'Date') }} | {{ items.sort('user_id', 'User') }} | {{ items.sort('description', 'Description') }} | {{ items.sort('period_start_on', 'Service period') }} | {{ items.sort('tax', 'Tax') }} | {{ items.sort('total', 'Total') }} |
|---|---|---|---|---|---|
|
{{ account.role_icon_for(invoice.user) }}
{{ invoice.user.username }}{{ invoice.user.email }} |
{{ invoice.brand }} {{ invoice.last4 }}
{{ invoice.description }} |
— | {{ '$' + invoice.tax | format_currency if invoice.tax }} | ${{ invoice.total | format_currency }} |