Admin Stripe invoices + recurring subscriptions (customers pay us) #24
@@ -1,6 +1,7 @@
|
||||
from django.urls import path
|
||||
|
||||
from . import views
|
||||
from . import invoice_views
|
||||
|
||||
urlpatterns = [
|
||||
path("", views.financial_home, name="financial_home"),
|
||||
@@ -21,4 +22,24 @@ urlpatterns = [
|
||||
path("profile", views.profile, name="profile"),
|
||||
path("manage_users", views.manage_users, name="manage_users"),
|
||||
path("client_reports", views.client_reports, name="client_reports"),
|
||||
path("invoices", invoice_views.invoice_list, name="invoice_list"),
|
||||
path("invoices/new", invoice_views.invoice_new, name="invoice_new"),
|
||||
path("invoices/<int:invoice_id>", invoice_views.invoice_detail, name="invoice_detail"),
|
||||
path(
|
||||
"invoices/<int:invoice_id>/resend",
|
||||
invoice_views.invoice_resend_email,
|
||||
name="invoice_resend_email",
|
||||
),
|
||||
path("subscriptions/new", invoice_views.subscription_new, name="subscription_new"),
|
||||
path(
|
||||
"subscriptions/<int:subscription_id>",
|
||||
invoice_views.subscription_detail,
|
||||
name="subscription_detail",
|
||||
),
|
||||
path(
|
||||
"subscriptions/<int:subscription_id>/resend",
|
||||
invoice_views.subscription_resend_email,
|
||||
name="subscription_resend_email",
|
||||
),
|
||||
path("stripe/webhook/", invoice_views.stripe_webhook, name="stripe_webhook"),
|
||||
]
|
||||
Reference in New Issue
Block a user