From c18d7a75b831f7e63efe86431e99a649c3792503 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 19 Oct 2024 15:47:41 +0100 Subject: [PATCH] Add new invoice dashboard template --- RIGS/templates/invoice_dashboard.html | 101 ++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 RIGS/templates/invoice_dashboard.html diff --git a/RIGS/templates/invoice_dashboard.html b/RIGS/templates/invoice_dashboard.html new file mode 100644 index 00000000..b107577f --- /dev/null +++ b/RIGS/templates/invoice_dashboard.html @@ -0,0 +1,101 @@ +{% extends 'base_rigs.html' %} + +{% block content %} + +
+
+
+ + +
+
+
+ + + +

Overview

+ + + +
+
+
+
Total Outstanding
+

£{{ total_outstanding|floatformat:2 }}

+
+
+
+
+
Total Waiting
+

£{{ total_waiting|floatformat:2 }}

+
+
+
+
+
Total Events
+

{{ total_events }}

+
+
+
+
+
Total Invoices
+

{{ total_invoices }}

+
+
+
+ +
+ +

Payments

+ +
+ +

Sources

+ +
+ +{% for source in payment_methods %} +
+
+
{{ source.method }}
+

£{{ source.total|floatformat:2 }}

+
+
+{% endfor %} + +
+ +

Total

+ +
+ +
+
+
Total Income
+

£{{ total_income|floatformat:2 }}

+
+
+ +
+ +

Invoice Payment Time

+ +
+ +
+
+
Average Time to Pay
+

{{ mean_invoice_to_payment|floatformat:2 }} days

+
+
+ +{% endblock %}