liste embauche [part 1]
[auf_rh_dae.git] / project / dae / urls.py
1 # -*- encoding: utf-8 -*
2 from django.conf.urls.defaults import patterns, url
3
4 urlpatterns = patterns(
5 'project.dae.views',
6 url(r'^$', 'index', name='dae_index'),
7
8 # poste
9 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
10 url(r'^poste/(?P<key>.*)/financement$', 'financement', name='financement'),
11 url(r'^poste/(?P<key>.*)/financement/(?P<id>\d*)$', 'financement',
12 name='financement'),
13 url(r'^poste$', 'poste', name='poste'),
14 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
15
16 # embauche
17 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
18 url(r'^embauche$', 'embauche', name='embauche'),
19 url(r'^embauche/(?P<key>.*)/(?P<dossier>.*)$', 'embauche',
20 name='embauche'),
21 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
22
23 # ajax
24 url(r'^employe$', 'employe', name='employe'),
25 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
26 url(r'^dossier$', 'dossier', name='dossier'),
27 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier',
28 name='dossier'),
29 url(r'^salaire$', 'salaire', name='salaire'),
30 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
31 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
32 url(r'^valeur$', 'valeur', name='dae_valeur'),
33 url(r'^devise$', 'devise', name='dae_devise'),
34 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
35 url(r'^add-remun$', 'add_remun', name='add_remun'),
36 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
37 name='add_remun'),
38 )