Show period in invoices page

This commit is contained in:
PCoder 2019-04-04 07:14:12 +02:00
parent 8b6619f788
commit 0c4e0f1070
1 changed files with 2 additions and 0 deletions

View File

@ -19,6 +19,7 @@
<thead>
<tr>
<th>{% trans "Invoice Nr." %}</th>
<th>{% trans "Period" %}</th>
<th>{% trans "Date" %}</th>
<th>{% trans "Amount" %}</th>
<th></th>
@ -28,6 +29,7 @@
{% for invoice in invoices %}
<tr>
<td class="xs-td-inline" data-header="{% trans 'Invoice Nr.' %}">{{ invoice.invoice_number }}</td>
<td class="xs-td-inline" data-header="{% trans 'Period' %}">{{ invoice.period_start | date: 'Y-m-d' }} &mdash; {{ invoice.period_end | date: 'Y-m-d' }}</td>
<td class="xs-td-bighalf locale_date" data-header="{% trans 'Date' %}">{{ invoice.paid_at | date:'Y-m-d h:i a' }}</td>
<td class="xs-td-smallhalf" data-header="{% trans 'Amount' %}">{{ invoice.total_in_chf|floatformat:2|intcomma }}</td>
<td class="text-right last-td">