2016-04-07 09:19:19 +00:00
|
|
|
import views
|
2016-08-25 10:33:19 +00:00
|
|
|
import staff_views
|
2016-04-07 09:19:19 +00:00
|
|
|
|
2016-03-31 00:10:17 +00:00
|
|
|
from django.conf.urls import url, patterns
|
2016-03-03 21:40:44 +00:00
|
|
|
|
2016-08-25 09:51:36 +00:00
|
|
|
from .views import (
|
|
|
|
product_category,
|
|
|
|
checkout,
|
|
|
|
credit_note,
|
|
|
|
invoice,
|
|
|
|
manual_payment,
|
|
|
|
refund,
|
|
|
|
invoice_access,
|
|
|
|
edit_profile,
|
|
|
|
guided_registration,
|
|
|
|
)
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r"^category/([0-9]+)$", product_category, name="product_category"),
|
|
|
|
url(r"^checkout$", checkout, name="checkout"),
|
|
|
|
url(r"^credit_note/([0-9]+)$", credit_note, name="credit_note"),
|
|
|
|
url(r"^invoice/([0-9]+)$", invoice, name="invoice"),
|
|
|
|
url(r"^invoice/([0-9]+)/([A-Z0-9]+)$", invoice, name="invoice"),
|
2016-04-07 09:19:19 +00:00
|
|
|
url(r"^invoice/([0-9]+)/manual_payment$",
|
2016-08-25 09:51:36 +00:00
|
|
|
manual_payment, name="manual_payment"),
|
2016-04-11 01:07:24 +00:00
|
|
|
url(r"^invoice/([0-9]+)/refund$",
|
2016-08-25 09:51:36 +00:00
|
|
|
refund, name="refund"),
|
|
|
|
url(r"^invoice_access/([A-Z0-9]+)$", invoice_access,
|
2016-04-08 03:15:24 +00:00
|
|
|
name="invoice_access"),
|
2016-08-25 09:51:36 +00:00
|
|
|
url(r"^profile$", edit_profile, name="attendee_edit"),
|
|
|
|
url(r"^register$", guided_registration, name="guided_registration"),
|
|
|
|
url(r"^register/([0-9]+)$", guided_registration,
|
2016-03-25 03:51:39 +00:00
|
|
|
name="guided_registration"),
|
2016-08-25 10:33:19 +00:00
|
|
|
url(r"^report$", staff_views.items_sold, name="items_sold"), # TODO: rm
|
2016-08-25 09:51:36 +00:00
|
|
|
]
|