1 # -*- encoding: utf-8 -*
3 from django
.conf
.urls
.defaults
import patterns
, url
5 urlpatterns
= patterns('project.rh.views',
7 url(r
'^admin/rh/rapports/employes_sans_contrats$',
8 'rapports_employes_sans_contrat', name
='rhr_employe_sans_contrat'),
9 url(r
'^admin/rh/rapports/contrats$', 'rapports_contrat',
11 url(r
'^admin/rh/rapports/masse_salariale$', 'rapports_masse_salariale',
12 name
='rhr_masse_salariale'),
13 url(r
'^admin/rh/rapports/postes_par_service$',
14 'rapports_postes_service', name
='rhr_postes_service'),
15 url(r
'^admin/rh/rapports/postes_par_implantation$',
16 'rapports_postes_implantation', name
='rhr_postes_implantation'),
17 url(r
'^admin/rh/rapports/postes_modelisation$',
18 'rapports_postes_modelisation', name
='rhr_postes_modelisation'),
21 url(r
'^admin/rh/dossier/(\d+)/apercu/$', 'dossier_apercu',
22 name
='dossier_apercu'),
23 url(r
'^admin/rh/employe/(\d+)/apercu/$', 'employe_apercu',
24 name
='employe_apercu'),
25 url(r
'^admin/rh/poste/(\d+)/apercu/$', 'poste_apercu',
29 url(r
'^admin/rh/organigrammes/employe/(\d+)/(\d+|all)$',
30 'organigrammes_employe', name
='rho_employe'),
31 #pour mettre le paramètre level non obligatoire, faut la deuxième url
32 url(r
'^admin/rh/organigrammes/employe/(\d+)/$', 'organigrammes_employe',
33 name
='rho_employe_sans_niveau'),
34 url(r
'^admin/rh/organigrammes/service/(\d+)$', 'organigrammes_service',
36 url(r
'^admin/rh/organigrammes/implantation/(\d+)$',
37 'organigrammes_implantation', name
='rho_implantation'),
38 url(r
'^admin/rh/organigrammes/bureau/(\d+)$', 'organigrammes_region',
42 url(r
'^admin/rh/rapports/modifications$',
43 'historique_des_modifications',
44 name
='rhr_historique_des_modifications'),