from django.conf.urls import patterns,url
from .views import *
from .leads import *

urlpatterns = patterns('',
    url(r'^orders/(?P<typ>\w+)/$',  orders),
    url(r'^order/(?P<order_id>[0-9]+)$',  order_detail),
    url(r'^search/beautician/$',  search_beautician),
    url(r'^allocation/manual/$',  allocate_manually),
    url(r'^allocate/auto/$',  allocate_auto),
    url(r'^allocate/reallocate/$',  reallocate),
    url(r'^allocate/unallocate/$',  unallocate),
    url(r'^order/change/status/$',  change_status),
    url(r'^leads/(?P<typ>\w+)/$',  leads),
    url(r'^search/leads/name/$',  search_name),
    url(r'^search/leads/contact/$',  search_contact),
    url(r'^search/orders/name/$',  search_orders_name),
    url(r'^search/orders/contact/$',  search_orders_contact),
    )
