2016-09-03 02:16:52 +00:00
|
|
|
from reporting import views as rv
|
2016-04-07 09:19:19 +00:00
|
|
|
|
2016-08-26 03:53:40 +00:00
|
|
|
from django.conf.urls import include
|
|
|
|
from django.conf.urls import url
|
2016-03-03 21:40:44 +00:00
|
|
|
|
2016-08-25 09:51:36 +00:00
|
|
|
from .views import (
|
2016-09-14 04:59:01 +00:00
|
|
|
amend_registration,
|
2016-08-25 09:51:36 +00:00
|
|
|
checkout,
|
|
|
|
credit_note,
|
2016-09-14 04:59:01 +00:00
|
|
|
edit_profile,
|
|
|
|
guided_registration,
|
2016-08-25 09:51:36 +00:00
|
|
|
invoice,
|
2016-09-14 04:59:01 +00:00
|
|
|
invoice_access,
|
2016-08-25 09:51:36 +00:00
|
|
|
manual_payment,
|
2016-09-14 04:59:01 +00:00
|
|
|
product_category,
|
2016-08-25 09:51:36 +00:00
|
|
|
refund,
|
2016-09-14 04:59:01 +00:00
|
|
|
review,
|
2016-08-25 09:51:36 +00:00
|
|
|
)
|
|
|
|
|
2016-08-26 03:53:40 +00:00
|
|
|
|
|
|
|
public = [
|
2016-09-03 04:22:32 +00:00
|
|
|
url(r"^amend/([0-9]+)$", amend_registration, name="amend_registration"),
|
2016-08-25 09:51:36 +00:00
|
|
|
url(r"^category/([0-9]+)$", product_category, name="product_category"),
|
|
|
|
url(r"^checkout$", checkout, name="checkout"),
|
2016-09-03 05:16:46 +00:00
|
|
|
url(r"^checkout/([0-9]+)$", checkout, name="checkout"),
|
2016-08-25 09:51:36 +00:00
|
|
|
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"),
|
2016-09-14 04:59:01 +00:00
|
|
|
url(r"^review$", review, name="review"),
|
2016-08-25 09:51:36 +00:00
|
|
|
url(r"^register/([0-9]+)$", guided_registration,
|
2016-03-25 03:51:39 +00:00
|
|
|
name="guided_registration"),
|
2016-08-26 03:53:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
reports = [
|
2016-09-03 02:16:52 +00:00
|
|
|
url(r"^$", rv.reports_list, name="reports_list"),
|
|
|
|
url(r"^attendee/?$", rv.attendee, name="attendee"),
|
2016-09-20 03:36:49 +00:00
|
|
|
url(r"^attendee_data/?$", rv.attendee_data, name="attendee_data"),
|
2016-09-03 02:16:52 +00:00
|
|
|
url(r"^attendee/([0-9]*)$", rv.attendee, name="attendee"),
|
|
|
|
url(r"^credit_notes/?$", rv.credit_notes, name="credit_notes"),
|
2016-09-20 00:33:43 +00:00
|
|
|
url(r"^discount_status/?$", rv.discount_status, name="discount_status"),
|
2016-09-19 05:03:21 +00:00
|
|
|
url(
|
|
|
|
r"^paid_invoices_by_date/?$",
|
|
|
|
rv.paid_invoices_by_date,
|
|
|
|
name="paid_invoices_by_date"
|
|
|
|
),
|
2016-09-03 02:16:52 +00:00
|
|
|
url(r"^product_status/?$", rv.product_status, name="product_status"),
|
2016-09-03 02:17:03 +00:00
|
|
|
url(r"^reconciliation/?$", rv.reconciliation, name="reconciliation"),
|
2016-09-20 09:18:09 +00:00
|
|
|
url(
|
|
|
|
r"^speaker_registrations/?$",
|
|
|
|
rv.speaker_registrations,
|
|
|
|
name="speaker_registrations",
|
|
|
|
),
|
2016-08-26 03:53:40 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
url(r"^reports/", include(reports)),
|
|
|
|
url(r"^", include(public)) # This one must go last.
|
2016-08-25 09:51:36 +00:00
|
|
|
]
|