Merge branch 'master' into dev
[auf_rh_dae.git] / project / dae / urls.py
CommitLineData
5d680e84 1# -*- encoding: utf-8 -*
3121c13c 2from django.conf.urls.defaults import patterns, url, include
5d680e84
NC
3
4urlpatterns = patterns(
5 'project.dae.views',
498881f4 6 url(r'^$', 'index', name='dae_index'),
0140cbd2 7
8 # poste
7ad7408e 9 url(r'^postes$', 'postes_liste', name='dae_postes_liste'),
c0413a6f 10 url(r'^poste/consulter/(?P<key>.*)$', 'poste_consulter', name='poste_consulter'),
5d680e84 11 url(r'^poste$', 'poste', name='poste'),
3ed49093 12 url(r'^poste/(?P<key>.*)$', 'poste', name='poste'),
67a94eaf 13 url(r'^pieces-postes/(\d+)/(.*)$', 'poste_piece', name='poste_piece'),
0140cbd2 14
15 # embauche
16 url(r'^embauches$', 'embauches_liste', name='dae_embauches_liste'),
44055779 17 url(r'^embauches-finalisees$', 'embauches_finalisees', name='embauches_finalisees'),
577dcb77 18 url(r'^embauche$', 'embauche_choisir_poste', name='embauche'),
5d5a57a4 19 url(r'^embauche/consulter/(?P<dossier_id>.*)$', 'embauche_consulter', name='embauche_consulter'),
62d3903d 20 url(r'^embauche/(?P<key>.*)/(?P<dossier_id>.*)$', 'embauche', name='embauche'),
139686f2 21 url(r'^embauche/(?P<key>.*)$', 'embauche', name='embauche'),
0140cbd2 22
9536ea21
EMS
23 # contrats
24 url(r'^embauches/(?P<dossier_id>\d+)/contrats/ajouter$', 'embauche_ajouter_contrat',
25 name='embauche_ajouter_contrat'),
ec269fa9 26 url(r'^contrats/(\d+)/fichier/(.*)$', 'contrat', name='contrat'),
9536ea21
EMS
27 url(r'^contrats/(\d+)/supprimer$', 'contrat_supprimer', name='contrat_supprimer'),
28
c3f0b49f
EMS
29 # DAE numérisée
30 url(r'^embauches/(\d+)/dae_numerisee$', 'dae_numerisee', name='dae_numerisee'),
31 url(r'^embauches/(\d+)/dae_numerisee/modifier$', 'dae_numerisee_modifier',
32 name='dae_numerisee_modifier'),
33 url(r'^embauches/(\d+)/dae_numerisee/supprimer$', 'dae_numerisee_supprimer',
34 name='dae_numerisee_supprimer'),
35
317ce433
OL
36 url(r'^importer$', 'importer_choix_dossier', name='importer_dae'),
37
577dcb77 38 # ajax
139686f2
NC
39 url(r'^employe$', 'employe', name='employe'),
40 url(r'^employe/(?P<key>.*)$', 'employe', name='employe'),
41 url(r'^dossier$', 'dossier', name='dossier'),
03b395db 42 url(r'^dossier/(?P<poste_key>.*)/(?P<employe_key>.*)$', 'dossier', name='dossier'),
67a94eaf 43 url(r'^pieces-dossiers/(\d+)/(.*)$', 'dossier_piece', name='dossier_piece'),
03b395db 44 url(r'^dossier_resume/(?P<dossier_id>.*)$', 'dossier_resume', name='dossier_resume'),
068d1462 45 url(r'^poste_resume/(?P<dossier_id>.*)$', 'poste_resume', name='poste_resume'),
139686f2
NC
46 url(r'^salaire$', 'salaire', name='salaire'),
47 url(r'^salaire/(.*)/(.*)/(.*)$', 'salaire', name='salaire'),
b50b0cd3 48 url(r'^coefficient$', 'coefficient', name='dae_coefficient'),
f87fe1a1 49 url(r'^liste_valeurs_point$', 'liste_valeurs_point', name='liste_valeurs_point'),
6d047148 50 url(r'^liste_postes$', 'liste_postes', name='liste_postes'),
3d627bfd 51 url(r'^devise$', 'devise', name='dae_devise'),
0a085c42 52 url(r'^devises$', 'devises', name='devises'),
3d627bfd 53 url(r'^devise/code$', 'devise_code', name='dae_devise_code'),
cb1d62b5
NC
54 url(r'^add-remun$', 'add_remun', name='add_remun'),
55 url(r'^add-remun/(?P<dossier>.*)/(?P<type_remun>.*)$', 'add_remun',
56 name='add_remun'),
5d680e84 57)