2018-09-01 19:57:09 +00:00
|
|
|
from django.urls import path
|
|
|
|
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
app_name="gestion"
|
|
|
|
urlpatterns = [
|
|
|
|
path('manage', views.manage, name="manage"),
|
2018-10-05 22:03:02 +00:00
|
|
|
path('reload', views.reload, name="reload"),
|
|
|
|
path('refund', views.refund, name="refund"),
|
|
|
|
path('productsIndex', views.productsIndex, name="productsIndex"),
|
2018-11-22 21:52:15 +00:00
|
|
|
path('productsList', views.productsList, name="productsList"),
|
2018-10-05 22:03:02 +00:00
|
|
|
path('addProduct', views.addProduct, name="addProduct"),
|
|
|
|
path('addKeg', views.addKeg, name="addKeg"),
|
2018-11-25 12:52:32 +00:00
|
|
|
path('openKeg', views.openKeg, name="openKeg"),
|
|
|
|
path('closeKeg', views.closeKeg, name="closeKeg"),
|
|
|
|
path('kegsList', views.kegsList, name="kegsList"),
|
|
|
|
path('kegH/<int:pk>', views.kegH, name="kegH"),
|
|
|
|
path('editKeg/<int:pk>', views.editKeg, name="editKeg"),
|
|
|
|
path('openDirectKeg/<int:pk>', views.openDirectKeg, name="openDirectKeg"),
|
|
|
|
path('closeDirectKeg/<int:pk>', views.closeDirectKeg, name="closeDirectKeg"),
|
2018-10-05 22:03:02 +00:00
|
|
|
path('addMenu', views.addMenu, name="addMenu"),
|
|
|
|
path('getProduct/<str:barcode>', views.getProduct, name="getProduct"),
|
2018-11-22 21:52:15 +00:00
|
|
|
path('order', views.order, name="order"),
|
|
|
|
path('ranking', views.ranking, name="ranking"),
|
|
|
|
path('annualRanking', views.annualRanking, name="annualRanking"),
|
|
|
|
path('searchProduct', views.searchProduct, name="searchProduct"),
|
|
|
|
path('productProfile/<int:pk>', views.productProfile, name="productProfile"),
|
|
|
|
path('products-autocomplete', views.ProductsAutocomplete.as_view(), name="products-autocomplete"),
|
2018-11-25 12:52:32 +00:00
|
|
|
path('kegs-positive-autocomplete', views.KegPositiveAutocomplete.as_view(), name="kegs-positive-autocomplete"),
|
|
|
|
path('kegs-active-autocomplete', views.KegActiveAutocomplete.as_view(), name="kegs-active-autocomplete"),
|
|
|
|
|
2018-11-22 21:52:15 +00:00
|
|
|
]
|