From 0c4e0f1070f64f1b8eb7337002714c88b46a881c Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 4 Apr 2019 07:14:12 +0200 Subject: [PATCH] Show period in invoices page --- hosting/templates/hosting/invoices.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosting/templates/hosting/invoices.html b/hosting/templates/hosting/invoices.html index 6a0aeb41..590d061d 100644 --- a/hosting/templates/hosting/invoices.html +++ b/hosting/templates/hosting/invoices.html @@ -19,6 +19,7 @@ {% trans "Invoice Nr." %} + {% trans "Period" %} {% trans "Date" %} {% trans "Amount" %} @@ -28,6 +29,7 @@ {% for invoice in invoices %} {{ invoice.invoice_number }} + {{ invoice.period_start | date: 'Y-m-d' }} — {{ invoice.period_end | date: 'Y-m-d' }} {{ invoice.paid_at | date:'Y-m-d h:i a' }} {{ invoice.total_in_chf|floatformat:2|intcomma }}