From 34aba54869118973acdc6025441958911b546881 Mon Sep 17 00:00:00 2001 From: FR25930 Date: Sat, 11 Mar 2017 12:49:29 +0100 Subject: [PATCH] [#2216] Fixes #2216 Affichage champs Facteur de criticite dans les dossiers de type Levee de reserve --- application/views/scripts/dossier/index.phtml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/application/views/scripts/dossier/index.phtml b/application/views/scripts/dossier/index.phtml index 424dae73..70118487 100755 --- a/application/views/scripts/dossier/index.phtml +++ b/application/views/scripts/dossier/index.phtml @@ -861,6 +861,10 @@ } $("#ANOMALIE").show(); }else if(type == 1){ + if($("#selectNature").val() == 19 && $("#AVIS_DOSSIER_COMMISSION").val() == 2) + { + $("#FACTDANGE").show(); + } $("#ANOMALIE").show(); } @@ -1040,6 +1044,14 @@ $("#ECHEANCIERTRAV").hide(); } } + if(type == 1 && $("#selectNature").val() == 19) + { + if($(this).val() == 2){ + $("#FACTDANGE").show(); + }else{ + $("#FACTDANGE").hide(); + } + } }); $("#echeanciertrav_check").live('click',function(){