3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-04 17:06:27 +00:00
coope/gestion/urls.py

40 lines
2.3 KiB
Python
Raw Normal View History

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"),
2018-11-25 23:15:09 +00:00
path('editProduct/<int:pk>', views.editProduct, name="editProduct"),
path('switchActivate/<int:pk>', views.switch_activate, name="switchActivate"),
2018-10-05 22:03:02 +00:00
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"),
2018-11-25 23:15:09 +00:00
path('searchMenu', views.searchMenu, name="searchMenu"),
path('editMenu/<int:pk>', views.edit_menu, name="editMenu"),
path('menusList', views.menus_list, name="menusList"),
2018-11-27 08:07:12 +00:00
path('getMenu/<str:barcode>', views.get_menu, name="getMenu"),
2018-11-25 23:15:09 +00:00
path('swicthActivateMenu/<int:pk>', views.switch_activate_menu, name="switchActivateMenu"),
2018-10-05 22:03:02 +00:00
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('searchProduct', views.searchProduct, name="searchProduct"),
2018-11-30 18:54:12 +00:00
path('cancelConsumption/<int:pk>', views.cancel_consumption, name="cancelConsumption"),
path('cancelMenu/<int:pk>', views.cancel_menu, name="cancelMenu"),
2018-11-22 21:52:15 +00:00
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-25 23:15:09 +00:00
path('menus-autcomplete', views.MenusAutocomplete.as_view(), name="menus-autocomplete"),
2018-11-22 21:52:15 +00:00
]