diff --git a/osinaweb/osinacore/__pycache__/views.cpython-311.pyc b/osinaweb/osinacore/__pycache__/views.cpython-311.pyc index f96f3fd6..44b76b56 100644 Binary files a/osinaweb/osinacore/__pycache__/views.cpython-311.pyc and b/osinaweb/osinacore/__pycache__/views.cpython-311.pyc differ diff --git a/osinaweb/osinacore/views.py b/osinaweb/osinacore/views.py index dfe5336e..0aceb212 100644 --- a/osinaweb/osinacore/views.py +++ b/osinaweb/osinacore/views.py @@ -1919,4 +1919,14 @@ def customer_index(request, *args, **kwargs): } - return render(request, 'customer_dashboard/customer_index.html', context) \ No newline at end of file + return render(request, 'customer_dashboard/customer_index.html', context) + + +@login_required +def customer_invoices(request, *args, **kwargs): + + context = { + + } + + return render(request, 'customer_dashboard/listing_pages/customer-invoices.html', context) \ No newline at end of file diff --git a/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc b/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc index b5f1de56..4438e49f 100644 Binary files a/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc and b/osinaweb/osinaweb/__pycache__/urls.cpython-311.pyc differ diff --git a/osinaweb/osinaweb/urls.py b/osinaweb/osinaweb/urls.py index 4b21d974..5a4a0724 100644 --- a/osinaweb/osinaweb/urls.py +++ b/osinaweb/osinaweb/urls.py @@ -162,6 +162,7 @@ urlpatterns = [ #CUSTOMER DASHBOARD path('customerdashboard/', views.customer_index, name='customerdashboard'), + path('customerinvoices/', views.customer_invoices, name='customerinvoices'), ] urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) \ No newline at end of file diff --git a/osinaweb/templates/customer_dashboard/listing_pages/customer-invoices.html b/osinaweb/templates/customer_dashboard/listing_pages/customer-invoices.html new file mode 100644 index 00000000..fb65a7ae --- /dev/null +++ b/osinaweb/templates/customer_dashboard/listing_pages/customer-invoices.html @@ -0,0 +1,92 @@ +{% extends "customer_dashboard/customer_main.html" %} +{%load static%} +{% block content %} + +
+ # + | ++ Due Date + | ++ Title + | ++ Description + | ++ Status + | ++ Amount + | +
---|---|---|---|---|---|
+ 1 + |
+
+
+ 20-2-2024 + |
+
+
+ Invoice 1 + |
+
+
+ Invoice description section + |
+
+
+ Pending + |
+
+
+ 200 + |
+