urls.py 1.62 KB
Newer Older
Administrator committed
1 2 3 4 5 6

from django.conf.urls import  url

from . import views

urlpatterns = [
7
    url(r'^movements$', views.movements_page),
8
    url(r'^do_movement', views.do_movement),
9 10
    url(r'^movements_view$', views.movements_view),
    url(r'^get_movements$', views.get_movements),
11 12 13

    ### NOT IN USE: ###

Administrator committed
14 15
    url(r'^$', views.listArticleBreaking),
    #Order
16

Administrator committed
17 18 19
    url(r'^stockOrder', views.stockOrder),
    url(r'^get_liste_supplyer', views.get_liste_supplyer),
    url(r'^get_list_article_fournisseur/(?P<four_id>\d+)/$', views.get_list_article_fournisseur),
20 21

    # Graph of Sale
Administrator committed
22 23
    url(r'^graphSale', views.graphSale),
    url(r'^get_list_sale_breaking/(?P<product_id>\d+)$', views.get_list_sale_breaking),
24

Administrator committed
25 26 27
    # lien of Liste Articles Breaking
    url(r'^listArticleBreaking', views.listArticleBreaking),
    url(r'^get_list_article_breaking', views.get_list_article_breaking),
28

Administrator committed
29 30
    # lien of commande
    url(r'^commandLacagette', views.commandLacagette),
31

Administrator committed
32 33 34 35 36
    # lien of breaking Article Set
    url(r'^breakingArticleSet', views.breakingArticleSet),
    url(r'^get_list_article', views.get_list_article),
    url(r'^get_article_byBarcode', views.get_article_byBarcode),
    url(r'^set_rupture', views.set_rupture),
37

Administrator committed
38 39 40 41 42
    # lien of last Sale of Articles
    url(r'^stockQuantLastSale', views.stockQuantLastSale),
    url(r'^get_list_date_last_sale', views.get_list_date_last_sale),
    url(r'^set_archive', views.set_archive),
    url(r'^set_dontPurchase', views.set_dontPurchase),
43

Administrator committed
44 45 46
    # Lien saleWithNotSale
    url(r'^saleWithNotSale', views.saleWithNotSale),
    url(r'^get_saleWitheNotSale', views.get_saleWitheNotSale),
47

Administrator committed
48 49
    url(r'^get_test', views.get_test),
]