Fixed year -1
authorBenoit C. Sirois <benoit.clennett-sirois@auf.org>
Tue, 5 Mar 2013 22:22:41 +0000 (17:22 -0500)
committerBenoit C. Sirois <benoit.clennett-sirois@auf.org>
Tue, 5 Mar 2013 22:22:41 +0000 (17:22 -0500)
project/rh/views.py

index 3859727..f5b7cf7 100644 (file)
@@ -726,7 +726,7 @@ def employe_apercu(request, employe_id):
         'dossiers': dossiers,
         'dossier_principal': dossier_principal,
         'media_url': settings.PRIVE_MEDIA_URL,
         'dossiers': dossiers,
         'dossier_principal': dossier_principal,
         'media_url': settings.PRIVE_MEDIA_URL,
-        'annee': date.today().year -1,
+        'annee': date.today().year,
         'devises': devises(),
     }
     return render(request, 'admin/rh/employe/apercu.html', c)
         'devises': devises(),
     }
     return render(request, 'admin/rh/employe/apercu.html', c)