3

\                 @   sJ   d dl mZ d dlmZ d dlmZ d dlmZ G dd deZe Z	dS )    )url)path)DashboardApplication)	get_classc               @   s  e Zd ZdZdgZdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdgdgfdZeddZeddZeddZ	edd	Z
edd
ZeddZeddZeddZeddZeddZeddZeddZeddZeddZeddZeddZeddZdd ZdS )OrdersDashboardApplicationNis_staffzpartner.dashboard_access)z
order-listzorder-list-coffeezorder-list-podszorder-list-gearszorder-list-workshopszorder-list-hook-bagszorder-list-multiplezorder-list-declinedzorder-statszorder-detailzprocess-orderzorder-detail-notezorder-line-detailzorder-shipping-addresszprint-shipping-addresszorder-print-product-labelszprocess-shipmentzout-of-coffeezdashboard.orders.viewsOrderListViewCoffeeOrderListViewPodsOrderListViewGearsOrderListViewWorkshopOrderListViewHookBagsOrderListViewMultipleOrderListViewDeclinedOrderListViewOrderDetailViewProcessOrderViewShippingAddressUpdateViewLineDetailViewOrderStatsViewShippingAddressViewProcessShipmentViewProductLabelViewOutOfCoffeeViewc             C   sR  t d| jj ddtd| jj ddtd| jj ddtd| jj d	dtd
| jj ddtd| jj ddtd| j	j ddtd| j
j ddtd| jj ddtd| jj ddtd| jj ddt d| jj ddt d| jj ddt d| jj ddt d| jj ddt d| jj ddt d | jj d!dt d"| jj d#dg}| j|S )$Nz^$z
order-list)namecoffeeszorder-list-coffeespodszorder-list-podsgearszorder-list-gears	workshopsorder_list_view_workshopsz	hook-bagszorder-list-hook-bagsmultiplezorder-list-multipledeclinedzorder-list-declinedzprocess-shipmentzout-of-coffeezprocess-order/<pk>zprocess-orderz^statistics/$zorder-statsz^(?P<number>[-\w]+)/$zorder-detailz,^(?P<number>[-\w]+)/notes/(?P<note_id>\d+)/$zorder-detail-notez,^(?P<number>[-\w]+)/lines/(?P<line_id>\d+)/$zorder-line-detailz&^(?P<number>[-\w]+)/shipping-address/$zorder-shipping-addressz,^(?P<number>[-\w]+)/print-shipping-address/$zprint-shipping-addressz*^(?P<number>[-\w]+)/print-product-labels/$zorder-print-product-labels)r   order_list_viewas_viewr   order_list_view_coffeeorder_list_view_podsorder_list_view_gearsr   order_list_view_hook_bagsorder_list_view_multipleorder_list_view_declinedprocess_shipmentout_of_coffeeprocess_order_vieworder_stats_vieworder_detail_viewline_detail_viewshipping_address_viewprint_shipping_addressprint_product_labelspost_process_urls)selfurls r5   4/var/www/html/oscar2019/apps/dashboard/orders/app.pyget_urls8   s0    
z#OrdersDashboardApplication.get_urls)__name__
__module____qualname__r   default_permissionspermissions_mapr   r!   r#   r$   r%   r   r&   r'   r(   r-   r+   r/   r.   r,   r0   r)   r1   r*   r7   r5   r5   r5   r6   r      sN   
































r   N)
django.conf.urlsr   django.urlsr   oscar.core.applicationr   oscar.core.loadingr   r   applicationr5   r5   r5   r6   <module>   s
   P