diff --git a/company_site/financial/templates/financial/invoice_detail.html b/company_site/financial/templates/financial/invoice_detail.html new file mode 100644 index 0000000..ebb5673 --- /dev/null +++ b/company_site/financial/templates/financial/invoice_detail.html @@ -0,0 +1,38 @@ +{% extends "base.html" %} +{% load static %} + +{% block title %}Invoice {{ invoice.pk }} - AI ML Operations{% endblock %} + +{% block content %} +
Customer: {{ invoice.customer.name }} <{{ invoice.customer.email }}>
+Description: {{ invoice.description }}
+Amount: ${{ invoice.amount_dollars|floatformat:2 }} {{ invoice.currency|upper }}
+Status: {{ invoice.get_status_display }}
+Due: {{ invoice.due_date|default:"—" }}
+Stripe invoice: {{ invoice.stripe_invoice_id|default:"—" }}
+ {% if invoice.hosted_invoice_url %} +Pay link: Open hosted invoice
+ {% endif %} + {% if invoice.invoice_pdf_url %} +PDF: Download
+ {% endif %} +Email sent: {{ invoice.pay_link_emailed_at|default:"Not yet" }}
+ {% if invoice.notes %}Notes: {{ invoice.notes }}
{% endif %} + + {% if invoice.hosted_invoice_url %} + + {% endif %} +