From 55f45963a0989143263590fdcc8b0246b46334dd Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 19 Oct 2024 15:48:14 +0100 Subject: [PATCH] Update finance URLs to put dashboard at index route --- RIGS/urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/RIGS/urls.py b/RIGS/urls.py index 5c263c48..6c5682ca 100644 --- a/RIGS/urls.py +++ b/RIGS/urls.py @@ -115,7 +115,8 @@ path('event/webhook/', views.RecieveForumWebhook.as_view(), name='webhook_recieve'), # Finance - path('invoice/', permission_required_with_403('RIGS.view_invoice')(views.InvoiceIndex.as_view()), + path('invoice/', permission_required_with_403('RIGS.view_invoice')(views.InvoiceDashboard.as_view()), name='invoice_dashboard'), + path('invoice/outstanding', permission_required_with_403('RIGS.view_invoice')(views.InvoiceOutstanding.as_view()), name='invoice_list'), path('invoice/archive/', permission_required_with_403('RIGS.view_invoice')(views.InvoiceArchive.as_view()), name='invoice_archive'),