diff --git a/company_site/financial/templates/financial/invoices.html b/company_site/financial/templates/financial/invoices.html new file mode 100644 index 0000000..86c1c37 --- /dev/null +++ b/company_site/financial/templates/financial/invoices.html @@ -0,0 +1,92 @@ +{% extends "base.html" %} +{% load static %} + +{% block title %}Invoices - AI ML Operations{% endblock %} + +{% block content %} +
+ Stripe is not configured. Set STRIPE_SECRET_KEY (and webhook secret) in the environment before creating invoices.
+
Create a Stripe invoice and email the customer a pay link.
+ + + New monthly subscription +Customer pays us on a recurring schedule via Checkout.
+ +| Customer | +Description | +Amount | +Status | +Created | +
|---|---|---|---|---|
| {{ inv.customer.name }} | +{{ inv.description }} | +${{ inv.amount_dollars|floatformat:2 }} | +{{ inv.get_status_display }} | +{{ inv.created|date:"Y-m-d" }} | +
No invoices yet.
+ {% endif %} +| Customer | +Description | +Amount | +Interval | +Status | +
|---|---|---|---|---|
| {{ sub.customer.name }} | +{{ sub.description }} | +${{ sub.amount_dollars|floatformat:2 }} | +{{ sub.get_interval_display }} | +{{ sub.get_status_display }} | +
No subscriptions yet.
+ {% endif %} +