apercu
[auf_rh_dae.git] / project / rh / views.py
index f3ab9ce..ce2802d 100644 (file)
@@ -193,3 +193,11 @@ def rapports_remuneration(request):
     }
 
     return render_to_response('rh/rapports/remuneration.html', c, RequestContext(request))
+
+def dossier_apercu(request, dossier_id):
+    c = {
+        'is_popup' : request.GET.get('_popup', False),
+        'dossier' : get_object_or_404(rh.Dossier, pk=dossier_id)
+
+    }
+    return render_to_response('admin/rh/dossier/apercu.html', c, RequestContext(request))