Fix for total employe
[auf_rh_dae.git] / project / assets / js / dossier.js
1 (function($) {
2 $(document).ready(function() {
3 $('#id_remplacement').change(function() {
4 if ($(this).is(':checked')) {
5 $('.form-row.remplacement_de').show();
6 }
7 else {
8 $('.form-row.remplacement_de').hide();
9 }
10 }).change();
11
12 if ($('#testemploye').length > 0) {
13 $('.form-row.employe').hide();
14 $('.form-row.poste').hide();
15 }
16 });
17 })(django.jQuery)