from orders.views import OrderDeletePacking from orders.views import OrderInvoices from orders.views import OrderNewPacking from orders.views import OrderUpdatePacking from orders.views import SendInvoices urlpatterns = patterns(settings.get_site_prefix()+'orders', url(r'/shipping$', CreateShippingView.as_view(), name="shipment_create"), url(r'/shipping/edit/(?P<shipping_id>\d+)', EditShippingView.as_view(), name="shipment_edit"), url(r'/shipping/status$', ShippingStatusView.as_view(), name="shipment_status"), url(r'/shipping/fee', ShippingFee.as_view(), name="shipment_fees"), url(r'/list/(?:(?P<orders_type>.+)/)?$', operator_upper_required(ListOrdersView.as_view(), login_url="bo_login", super_allowed=False), name='list_orders'), url(r'/vente/(?:(?P<orders_type>.+)/)?$', operator_upper_required(OrderVenteView.as_view(), login_url="bo_login", super_allowed=False), name='order_vente'), url(r'/details/(?:(?P<order_id>\d+)/)?$', operator_upper_required(OrderDetails.as_view(), login_url="bo_login", super_allowed=False), name='order_details'), url(r'/delete/(?P<order_id>\d+)$', admin_upper_required(OrderDelete.as_view(), login_url="bo_login",
# The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from stocks.views import * urlpatterns = patterns(settings.get_site_prefix()+'stocks', url(r'/list/(?:shop/(?P<shop>\d+)/)?(?:page/(?P<page>\d+)/)?$', operator_upper_required(ListStocksView.as_view(), login_url="bo_login", super_allowed=False), name='list_stocks'), url(r'/list/sale/(?P<sale>\d+)/(?:shop/(?P<shop>\d+)/)?(?:page/(?P<page>\d+)/)?$', operator_upper_required(ListStocksView.as_view(), login_url="bo_login", super_allowed=False), name='sale_list_stocks'), url(r'/update/sku$', operator_upper_required(UpdateSkuAjaxView.as_view(), login_url="bo_login", super_allowed=False), name='update_sku'), url(r'/update/barcode$', operator_upper_required(UpdateBarcodeAjaxView.as_view(), login_url="bo_login",
# with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls import patterns, url from countries.views import get_country_states from countries.views import get_country_x_currency from fouillis.views import operator_upper_required urlpatterns = patterns(settings.get_site_prefix()+'countries', url(r'/get_states/(?P<cid>\S+)$', operator_upper_required(get_country_states, login_url="bo_login"), name="get_country_states"), url(r'/get_country_x_currency/$', operator_upper_required(get_country_x_currency, login_url="bo_login"), name="get_country_x_currency"), )
TemplateView.as_view(template_name="added.html"), name="sale_added"), url(r'/updated/$', TemplateView.as_view(template_name="updated.html"), name="sale_updated"), url(r'/new/(?:(?P<step>.+)/)?$', add_sale, name="add_sale"), url(r'/edit/(?P<sale_id>\d+)/(?:(?P<step>.+)/)?$', edit_sale, name="edit_sale"), url(r'/list/(?:(?P<sales_type>old)/)?$', manager_upper_required(ListSalesView.as_view(), login_url="/"), name='list_sales'), url(r'/list/(?:(?P<sales_type>.+)/)?$', operator_upper_required(ListSalesView.as_view(), login_url="/"), name='list_sales'), url(r'/details/(?:(?P<sale_id>\d+)/)?(?:(?P<shop_id>\d+)/)?$', SaleDetails.as_view(), name='sale_details'), url(r'/details_shop/(?:(?P<sale_id>\d+)/)?$', SaleDetailsShop.as_view(), name='sale_details_shop'), url(r'/delete/(?P<sale_id>\d+)', shop_manager_upper_required(DeleteSalesView.as_view(), login_url="/"), name='delete_sales'), url(r'/get_product_types/(?P<cat_id>\d+)', manager_upper_required(get_product_types, login_url="/"), name='get_product_types'), url(r'/get_item_varattr_values/(?P<aid>\d+)', manager_upper_required(get_item_varattr_values, login_url="/"),
# knowledge of the CeCILL-B license and that you accept its terms. # ############################################################################# import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from stats.views import StatsIncomesView from stats.views import StatsOrdersView from stats.views import StatsVisitorsView urlpatterns = patterns( settings.get_site_prefix() + 'stats', url(r'/incomes$', operator_upper_required(StatsIncomesView.as_view(), login_url="bo_login", super_allowed=True), name='incomes_stats'), url(r'/orders$', operator_upper_required(StatsOrdersView.as_view(), login_url="bo_login", super_allowed=True), name='orders_stats'), url(r'/visitors$', operator_upper_required(StatsVisitorsView.as_view(), login_url="bo_login", super_allowed=True), name='visitors_online_stats'), )
'', url(r'^events', include(settings.get_site_prefix() + 'events.urls')), url(r'^notifs', include(settings.get_site_prefix() + 'notifs.urls')), url(r'^routes', include(settings.get_site_prefix() + 'routes.urls')), url(r'^webservice', include(settings.get_site_prefix() + 'webservice.urls')), url(r'^attributes', include(settings.get_site_prefix() + 'attributes.urls')), url(r'^pictures', include(settings.get_site_prefix() + 'pictures.urls')), url(r'^sales', include(settings.get_site_prefix() + 'sales.urls')), url(r'^stocks', include(settings.get_site_prefix() + 'stocks.urls')), url(r'^shops', include(settings.get_site_prefix() + 'shops.urls')), url(r'^orders', include(settings.get_site_prefix() + 'orders.urls')), url(r'^login', 'fouillis.views.login_staff', name='bo_login'), url(r'^$', operator_upper_required(home_page, login_url="bo_login"), name='bo_index'), # Examples: # url(r'^$', 'backtoshops.views.home', name='home'), # url(r'^backtoshops/', include('backtoshops.foo.urls')), # Uncomment the admin/doc line below to enable admin documentation: # url(r'^admin/doc/', include('django.contrib.admindocs.urls')), # Uncomment the next line to enable the admin: url(r'^admin/', include(admin.site.urls)), url(r'^setlang/', settings.get_site_prefix() + 'accounts.views.set_language'), url(r'^sa/', include(settings.get_site_prefix() + 'backend.urls')), url(r'^accounts/', include(settings.get_site_prefix() + 'accounts.urls')), url(r'^shippings', include(settings.get_site_prefix() + 'shippings.urls')),
# # In this respect, the user's attention is drawn to the risks associated # with loading, using, modifying and/or developing or reproducing the # software by the user in light of its specific status of free software, # that may mean that it is complicated to manipulate, and that also # therefore means that it is reserved for developers and experienced # professionals having in-depth computer knowledge. Users are therefore # encouraged to load and test the software's suitability as regards their # requirements in conditions enabling the security of their systems and/or # data to be ensured and, more generally, to use and operate it in the # same conditions as regards security. # # The fact that you are presently reading this means that you have had # knowledge of the CeCILL-B license and that you accept its terms. # #############################################################################import settings import settings from django.conf.urls.defaults import patterns, url from fouillis.views import operator_upper_required from termsandconditions.views import TermsAndConditionsView urlpatterns = patterns( settings.get_site_prefix() + 'termsandconditions', url(r'/$', operator_upper_required(TermsAndConditionsView.as_view(), login_url="/"), name="terms_and_conditions"), )