apercu
[auf_rh_dae.git] / project / rh / views.py
index fde04ad..ce2802d 100644 (file)
@@ -178,7 +178,6 @@ def rapports_remuneration(request):
 
         for r in remun:
             if r == u'Indemnité':
-                print r
                 line['Indemnite'] = remun[r][1]
             else:
                 line[r] = remun[r][1]
@@ -194,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))