2020-02-12 12:10:41 +00:00
|
|
|
from django.urls import include, path
|
2017-10-03 19:14:07 +00:00
|
|
|
|
2020-02-12 12:10:41 +00:00
|
|
|
from .views import (
|
2020-02-22 13:50:09 +00:00
|
|
|
ApproveFeedbackView,
|
2020-02-12 12:10:41 +00:00
|
|
|
ApproveNamesView,
|
|
|
|
BackofficeIndexView,
|
2020-04-25 12:13:25 +00:00
|
|
|
BackofficeProxyView,
|
2020-02-12 12:10:41 +00:00
|
|
|
BadgeHandoutView,
|
|
|
|
ChainDetailView,
|
|
|
|
ChainListView,
|
|
|
|
CredebtorDetailView,
|
|
|
|
EventProposalManageView,
|
|
|
|
ExpenseDetailView,
|
|
|
|
ExpenseListView,
|
2020-02-24 22:28:52 +00:00
|
|
|
FacilityFeedbackView,
|
2020-02-12 12:10:41 +00:00
|
|
|
ManageProposalsView,
|
|
|
|
MerchandiseOrdersView,
|
|
|
|
MerchandiseToOrderView,
|
|
|
|
ProductHandoutView,
|
|
|
|
ReimbursementCreateUserSelectView,
|
|
|
|
ReimbursementCreateView,
|
|
|
|
ReimbursementDeleteView,
|
|
|
|
ReimbursementDetailView,
|
|
|
|
ReimbursementListView,
|
|
|
|
ReimbursementUpdateView,
|
|
|
|
RevenueDetailView,
|
|
|
|
RevenueListView,
|
|
|
|
ScanTicketsView,
|
|
|
|
ShopTicketOverview,
|
|
|
|
SpeakerProposalManageView,
|
|
|
|
TicketCheckinView,
|
|
|
|
VillageOrdersView,
|
|
|
|
VillageToOrderView,
|
|
|
|
)
|
2018-04-03 16:44:10 +00:00
|
|
|
|
2019-06-16 12:32:24 +00:00
|
|
|
app_name = "backoffice"
|
2018-04-03 16:44:10 +00:00
|
|
|
|
2017-10-03 19:14:07 +00:00
|
|
|
urlpatterns = [
|
2019-06-16 12:32:24 +00:00
|
|
|
path("", BackofficeIndexView.as_view(), name="index"),
|
2020-04-25 12:13:25 +00:00
|
|
|
# proxy view
|
|
|
|
path("proxy/", BackofficeProxyView.as_view(), name="proxy"),
|
|
|
|
# facility feedback
|
2020-02-24 22:28:52 +00:00
|
|
|
path(
|
|
|
|
"feedback/facilities/<slug:team_slug>/",
|
|
|
|
include([path("", FacilityFeedbackView.as_view(), name="facilityfeedback")]),
|
|
|
|
),
|
2018-11-20 16:12:32 +00:00
|
|
|
# infodesk
|
2020-02-07 17:46:34 +00:00
|
|
|
path(
|
|
|
|
"infodesk/",
|
2020-02-12 12:10:41 +00:00
|
|
|
include([path("", ScanTicketsView.as_view(), name="scan_tickets")]),
|
2020-02-07 17:46:34 +00:00
|
|
|
),
|
2019-08-11 11:18:19 +00:00
|
|
|
path("shop_tickets/", ShopTicketOverview.as_view(), name="shop_ticket_overview"),
|
2019-06-16 12:32:24 +00:00
|
|
|
path("product_handout/", ProductHandoutView.as_view(), name="product_handout"),
|
|
|
|
path("badge_handout/", BadgeHandoutView.as_view(), name="badge_handout"),
|
|
|
|
path("ticket_checkin/", TicketCheckinView.as_view(), name="ticket_checkin"),
|
2018-11-20 16:12:32 +00:00
|
|
|
# public names
|
2019-06-16 12:32:24 +00:00
|
|
|
path(
|
|
|
|
"public_credit_names/", ApproveNamesView.as_view(), name="public_credit_names"
|
|
|
|
),
|
2018-11-20 16:12:32 +00:00
|
|
|
# merchandise orders
|
2019-06-16 12:32:24 +00:00
|
|
|
path(
|
|
|
|
"merchandise_orders/",
|
|
|
|
MerchandiseOrdersView.as_view(),
|
|
|
|
name="merchandise_orders",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"merchandise_to_order/",
|
|
|
|
MerchandiseToOrderView.as_view(),
|
|
|
|
name="merchandise_to_order",
|
|
|
|
),
|
2018-11-20 16:12:32 +00:00
|
|
|
# village orders
|
2019-06-16 12:32:24 +00:00
|
|
|
path("village_orders/", VillageOrdersView.as_view(), name="village_orders"),
|
|
|
|
path("village_to_order/", VillageToOrderView.as_view(), name="village_to_order"),
|
2018-11-20 16:12:32 +00:00
|
|
|
# manage proposals
|
2019-06-16 12:32:24 +00:00
|
|
|
path(
|
|
|
|
"manage_proposals/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path("", ManageProposalsView.as_view(), name="manage_proposals"),
|
|
|
|
path(
|
|
|
|
"speakers/<uuid:pk>/",
|
|
|
|
SpeakerProposalManageView.as_view(),
|
|
|
|
name="speakerproposal_manage",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"events/<uuid:pk>/",
|
|
|
|
EventProposalManageView.as_view(),
|
|
|
|
name="eventproposal_manage",
|
|
|
|
),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
2020-02-22 13:50:09 +00:00
|
|
|
# approve eventfeedback objects
|
|
|
|
path(
|
|
|
|
"approve_feedback", ApproveFeedbackView.as_view(), name="approve_eventfeedback",
|
|
|
|
),
|
2018-11-20 16:12:32 +00:00
|
|
|
# economy
|
2019-06-16 12:32:24 +00:00
|
|
|
path(
|
|
|
|
"economy/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
# chains & credebtors
|
|
|
|
path(
|
|
|
|
"chains/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path("", ChainListView.as_view(), name="chain_list"),
|
|
|
|
path(
|
|
|
|
"<slug:chain_slug>/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path(
|
|
|
|
"",
|
|
|
|
ChainDetailView.as_view(),
|
|
|
|
name="chain_detail",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<slug:credebtor_slug>/",
|
|
|
|
CredebtorDetailView.as_view(),
|
|
|
|
name="credebtor_detail",
|
|
|
|
),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
]
|
2019-03-30 05:54:45 +00:00
|
|
|
),
|
2019-06-16 12:32:24 +00:00
|
|
|
),
|
|
|
|
# expenses
|
|
|
|
path(
|
|
|
|
"expenses/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path("", ExpenseListView.as_view(), name="expense_list"),
|
2019-03-30 05:54:45 +00:00
|
|
|
path(
|
2019-06-16 12:32:24 +00:00
|
|
|
"<uuid:pk>/",
|
|
|
|
ExpenseDetailView.as_view(),
|
|
|
|
name="expense_detail",
|
2019-03-30 05:54:45 +00:00
|
|
|
),
|
2019-06-16 12:32:24 +00:00
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
# revenues
|
|
|
|
path(
|
|
|
|
"revenues/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path("", RevenueListView.as_view(), name="revenue_list"),
|
2019-03-30 05:54:45 +00:00
|
|
|
path(
|
2019-06-16 12:32:24 +00:00
|
|
|
"<uuid:pk>/",
|
|
|
|
RevenueDetailView.as_view(),
|
|
|
|
name="revenue_detail",
|
2019-03-30 05:54:45 +00:00
|
|
|
),
|
2019-06-16 12:32:24 +00:00
|
|
|
]
|
2019-03-30 05:54:45 +00:00
|
|
|
),
|
2019-06-16 12:32:24 +00:00
|
|
|
),
|
|
|
|
# reimbursements
|
|
|
|
path(
|
|
|
|
"reimbursements/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path(
|
|
|
|
"",
|
|
|
|
ReimbursementListView.as_view(),
|
|
|
|
name="reimbursement_list",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"<uuid:pk>/",
|
|
|
|
include(
|
|
|
|
[
|
|
|
|
path(
|
|
|
|
"",
|
|
|
|
ReimbursementDetailView.as_view(),
|
|
|
|
name="reimbursement_detail",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"update/",
|
|
|
|
ReimbursementUpdateView.as_view(),
|
|
|
|
name="reimbursement_update",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"delete/",
|
|
|
|
ReimbursementDeleteView.as_view(),
|
|
|
|
name="reimbursement_delete",
|
|
|
|
),
|
|
|
|
]
|
|
|
|
),
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"create/",
|
|
|
|
ReimbursementCreateUserSelectView.as_view(),
|
|
|
|
name="reimbursement_create_userselect",
|
|
|
|
),
|
|
|
|
path(
|
|
|
|
"create/<int:user_id>/",
|
|
|
|
ReimbursementCreateView.as_view(),
|
|
|
|
name="reimbursement_create",
|
|
|
|
),
|
|
|
|
]
|
2018-11-20 16:12:32 +00:00
|
|
|
),
|
2019-06-16 12:32:24 +00:00
|
|
|
),
|
|
|
|
]
|
|
|
|
),
|
2018-11-20 16:12:32 +00:00
|
|
|
),
|
2017-10-03 19:14:07 +00:00
|
|
|
]
|