3
0
Fork 0
mirror of https://github.com/nanoy42/coope synced 2024-11-28 15:42:25 +00:00
coope/gestion/urls.py

59 lines
3.7 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-12-23 22:55:27 +00:00
path('getMenu/<int:pk>', views.get_menu, name="getMenu"),
2018-11-25 23:15:09 +00:00
path('swicthActivateMenu/<int:pk>', views.switch_activate_menu, name="switchActivateMenu"),
2018-12-23 22:55:27 +00:00
path('getProduct/<int:pk>', 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"),
2018-12-23 13:36:29 +00:00
path('addPintes', views.add_pintes, name="addPintes"),
2018-12-23 12:05:41 +00:00
path('releasePintes', views.release_pintes, name="releasePintes"),
2018-12-23 13:36:29 +00:00
path('pintesList', views.pintes_list, name="pintesList"),
path('release/<int:pinte_pk>', views.release, name="release"),
2018-12-23 20:21:30 +00:00
path('pintesUserList', views.pintes_user_list, name="pintesUserList"),
2018-11-22 21:52:15 +00:00
path('products-autocomplete', views.ProductsAutocomplete.as_view(), name="products-autocomplete"),
2018-12-23 22:55:27 +00:00
path('active-products-autocomplete', views.ActiveProductsAutocomplete.as_view(), name="active-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-12-24 00:30:00 +00:00
path('cancelReload/<int:pk>', views.cancel_reload, name="cancelReload"),
2019-01-05 23:01:30 +00:00
path('gen_releve', views.gen_releve, name="gen_releve"),
2019-05-03 19:09:32 +00:00
path('categoriesList', views.categoriesList, name="catrgorisList"),
path('addCategory', views.addCategory, name="addCategory"),
path('editCategory/<int:pk>', views.editCategory, name="editCategory"),
path('searchCategory', views.searchCategory, name="searchCategory"),
path('categoryProfile/<int:pk>', views.categoryProfile, name="categoryProfile"),
path('categoriesList', views.categoriesList, name="categoriesList"),
path('categories-autocomplete', views.CategoriesAutocomplete.as_view(), name="categories-autocomplete"),
2019-05-03 21:27:11 +00:00
path('stats', views.stats, name="stats"),
2019-06-23 08:54:21 +00:00
path('divide', views.divide, name="divide"),
2019-06-23 11:46:12 +00:00
path('gen_invoice', views.gen_invoice, name="gen_invoice"),
2019-06-23 13:31:55 +00:00
path('compute-price', views.compute_price_view, name="compute-price"),
2018-11-22 21:52:15 +00:00
]