# # Copyright 2023 © AE UTBM # ae@utbm.fr / ae.info@utbm.fr # # This file is part of the website of the UTBM Student Association (AE UTBM), # https://ae.utbm.fr. # # You can find the source code of the website at https://github.com/ae-utbm/sith # # LICENSED UNDER THE GNU GENERAL PUBLIC LICENSE VERSION 3 (GPLv3) # SEE : https://raw.githubusercontent.com/ae-utbm/sith/master/LICENSE # OR WITHIN THE LOCAL FILE "LICENSE" # # from django.urls import path from counter.views import ( ActiveProductListView, ArchivedProductListView, CashSummaryEditView, CashSummaryListView, CounterActivityView, CounterCashSummaryView, CounterClick, CounterCreateView, CounterDeleteView, CounterEditPropView, CounterEditView, CounterLastOperationsView, CounterListView, CounterMain, CounterRefillingListView, CounterStatView, EticketCreateView, EticketEditView, EticketListView, EticketPDFView, InvoiceCallView, ProductCreateView, ProductEditView, ProductTypeCreateView, ProductTypeEditView, ProductTypeListView, RefillingCreateFragmentView, RefillingDeleteView, SellingDeleteView, StudentCardDeleteView, StudentCardFormFragmentView, StudentCardFormView, counter_login, counter_logout, ) urlpatterns = [ path("/", CounterMain.as_view(), name="details"), path("/click//", CounterClick.as_view(), name="click"), path( "/last_ops/", CounterLastOperationsView.as_view(), name="last_ops", ), path( "/cash_summary/", CounterCashSummaryView.as_view(), name="cash_summary", ), path("/activity/", CounterActivityView.as_view(), name="activity"), path("/stats/", CounterStatView.as_view(), name="stats"), path("/login/", counter_login, name="login"), path("/logout/", counter_logout, name="logout"), path( "/refill//", RefillingCreateFragmentView.as_view(), name="refilling_create_fragment", ), path( "/card/add//", StudentCardFormFragmentView.as_view(), name="add_student_card_fragment", ), path("eticket//pdf/", EticketPDFView.as_view(), name="eticket_pdf"), path( "customer//card/add/", StudentCardFormView.as_view(), name="add_student_card", ), path( "customer//card/delete//", StudentCardDeleteView.as_view(), name="delete_student_card", ), path("admin//", CounterEditView.as_view(), name="admin"), path( "admin//prop/", CounterEditPropView.as_view(), name="prop_admin" ), path("admin/", CounterListView.as_view(), name="admin_list"), path("admin/new/", CounterCreateView.as_view(), name="new"), path("admin/delete//", CounterDeleteView.as_view(), name="delete"), path("admin/invoices_call/", InvoiceCallView.as_view(), name="invoices_call"), path( "admin/cash_summary/list/", CashSummaryListView.as_view(), name="cash_summary_list", ), path( "admin/cash_summary//", CashSummaryEditView.as_view(), name="cash_summary_edit", ), path("admin/product/list/", ActiveProductListView.as_view(), name="product_list"), path( "admin/product/list_archived/", ArchivedProductListView.as_view(), name="product_list_archived", ), path("admin/product/create/", ProductCreateView.as_view(), name="new_product"), path( "admin/product//", ProductEditView.as_view(), name="product_edit", ), path( "admin/producttype/list/", ProductTypeListView.as_view(), name="producttype_list", ), path( "admin/producttype/create/", ProductTypeCreateView.as_view(), name="new_producttype", ), path( "admin/producttype//", ProductTypeEditView.as_view(), name="producttype_edit", ), path("admin/eticket/list/", EticketListView.as_view(), name="eticket_list"), path("admin/eticket/new/", EticketCreateView.as_view(), name="new_eticket"), path( "admin/eticket//", EticketEditView.as_view(), name="edit_eticket", ), path( "admin/selling//delete/", SellingDeleteView.as_view(), name="selling_delete", ), path( "admin/refilling//delete/", RefillingDeleteView.as_view(), name="refilling_delete", ), path( "admin//refillings/", CounterRefillingListView.as_view(), name="refilling_list", ), ]