From 5987962414e2536ac9e4e98b4807797c8a340a0b Mon Sep 17 00:00:00 2001 From: PCoder Date: Thu, 4 Apr 2019 23:50:49 +0200 Subject: [PATCH] Add VM ID to invoices list --- hosting/templates/hosting/invoices.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hosting/templates/hosting/invoices.html b/hosting/templates/hosting/invoices.html index ed4e5ab9..eaf5d22d 100644 --- a/hosting/templates/hosting/invoices.html +++ b/hosting/templates/hosting/invoices.html @@ -18,9 +18,9 @@ + - @@ -28,10 +28,10 @@ {% for invoice in invoices %} + - - +
{% trans "VM ID" %} {% trans "IP Address" %} {% trans "Period" %}{% trans "Date" %} {% trans "Amount" %}
{{ invoice.order.vm_id }} {{ ips|get_value_from_dict:invoice.invoice_number|join:"
" }}
{{ 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 }}{{ invoice.total_in_chf|floatformat:2|intcomma }} {% trans 'See Invoice' %}