Project

General

Profile

Download (1.26 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / facturation / urls.py @ 8b60637d

1
from django.conf.urls import patterns, url
2

    
3
from views import (FacturationHomepageView, FacturationDetailView,
4
    ValidationFacturationView, close_form, display_invoicing,
5
    FacturationDownloadView, FacturationExportView, rebill_form,
6
    FacturationTransmissionView, FacturationTransmissionBuildView,
7
    FacturationTransmissionMailView, FacturationNoemieView)
8

    
9
urlpatterns = patterns('calebasse.facturation.views',
10
    url(r'^$', FacturationHomepageView.as_view()),
11
    url(r'^display_invoicing', display_invoicing),
12
    url(r'^(?P<pk>\d+)/$', FacturationDetailView.as_view()),
13
    url(r'^(?P<pk>\d+)/download/.*$', FacturationDownloadView.as_view()),
14
    url(r'^(?P<pk>\d+)/export/.*$', FacturationExportView.as_view()),
15
    url(r'^(?P<pk>\d+)/transmission/$', FacturationTransmissionView.as_view()),
16
    url(r'^(?P<pk>\d+)/transmission/build/$', FacturationTransmissionBuildView.as_view()),
17
    url(r'^(?P<pk>\d+)/transmission/mail/(?P<b2>.*$)$', FacturationTransmissionMailView.as_view()),
18
    url(r'^transmission/noemie/(?P<name>.*)$', FacturationNoemieView.as_view()),
19
    url(r'^(?P<pk>\d+)/validate/$',
20
        ValidationFacturationView.as_view(),
21
        name='validate-facturation'),
22
    url(r'^(?P<pk>\d+)/clore$', close_form),
23
    url(r'^(?P<pk>\d+)/rebill/$', rebill_form),
24
)
(15-15/16)