Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\sales\contrat_\edit.jsp
<%@page import="java.util.Date"%> <%/****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * F: +33 (0)1 73 01 69 77 * http://www.e-deal.com * * La diffusion de ce code source sous quelque forme que ce soit sans * l'autorisation de E-DEAL est interdite. * * Vous êtes autorisés à modifier ce code source uniquement pour votre usage * propre et sous réserve que les mentions de copyright demeurent intactes. * * Ce code est fourni en l'état. Aucune garantie d'aucune sorte, explicite ou * implicite n'est donnée. En aucun cas E-DEAL ne pourra être tenu pour * responsable des dommages pouvant résulter de l'utilisation de ce code * source. ******************************************************************************/ %> <%@page session="true"%> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.custom.Contrat_Bean"%> <%@ page import="com.edeal.frontline.ActorBean"%> <%@page import="com.edeal.frontline.helper.Contrat_BaseHelper"%> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.Utils" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.custom.Contrat_Bean" id="Contrat_" scope="request"/> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <link rel="stylesheet" type="text/css" href="<fl:webapp/>/css/common_css.jsp"> <% final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(getClass()); FlRequest flRequest = new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = context.getDataDictionary(); String id = null; boolean visibleRec = false; boolean isPrestation = false; boolean createCtrPrincipal = true; boolean afficherChampCtrPrincipal = true; boolean afficherChampsContratsAffilies = false; boolean contrathonore = true; try { id = Contrat_.getID(); } catch (FieldNotInitializedException fnie) {} try { visibleRec = Contrat_.isCt_TaciteRecond(); } catch (FieldNotInitializedException fnie) { } String tempSg = ""; try { tempSg = Contrat_.getCt_TempSg(); } catch (FieldNotInitializedException fnie) { } Integer NbMois =0; try { NbMois = (Integer)Contrat_.getCustomProperty("Ct_NbMois"); } catch (FieldNotInitializedException fnie) { } String MoisDebut =""; try { MoisDebut = (String)Contrat_.getCustomProperty("Ct_MoisDebut"); } catch (FieldNotInitializedException fnie) { } String ct_TypeContrat = null; try { ct_TypeContrat = Contrat_.getCt_TypeContrat(); } catch (FieldNotInitializedException e){ } // Type de contrat LOGIS String typeContratLogisID = null; try { typeContratLogisID = (String) dico.getRefIdByCode("Ct_TypeContrat", "L"); } catch (Exception e) { typeContratLogisID =""; } // Type de contrat PRESTATION String typeContratPrestationID = null; String typeContratFournID = null; String typeContratPartID = null; try { typeContratPrestationID = (String) dico.getRefIdByCode("Ct_TypeContrat", "PR"); typeContratFournID = (String) dico.getRefIdByCode("Ct_TypeContrat", "FA"); typeContratPartID = (String) dico.getRefIdByCode("Ct_TypeContrat", "PT"); } catch (Exception e) { } isPrestation = ((ct_TypeContrat != null && typeContratPrestationID.equals(ct_TypeContrat)) || (ct_TypeContrat != null && typeContratFournID.equals(ct_TypeContrat)) || (ct_TypeContrat != null && typeContratPartID.equals(ct_TypeContrat))); String encourspros = ""; try { encourspros = (String)Contrat_.getCt_Encourspros(); } catch (FieldNotInitializedException e){ } String encoursprosOUI = ""; try { encoursprosOUI = (String) dico.getRefIdByCode("Ct_Encourspros", "YES"); } catch (Exception e) { } String valRestr =""; String ctrPrincipal = null; Contrat_BaseHelper contratHelper = new Contrat_BaseHelper(Contrat_); try { ctrPrincipal = Contrat_.getCt_ContratPrincipal(); } catch (FieldNotInitializedException fnie) { } if(ctrPrincipal != null) { valRestr = contratHelper.getTypeContrats(context,"P"); }else{ valRestr = contratHelper.getTypeContrats(context,"S"); } boolean conthonore=false; if(id == null) { conthonore= true ; Contrat_.setCt_ContratHonore(conthonore); } else { try{ conthonore = Contrat_.isCt_ContratHonore(); } catch(FieldNotInitializedException fnie) { } } String valRestrSecondaires = contratHelper.getTypeContrats(context,"S"); String valRestrPrincipaux = contratHelper.getTypeContrats(context,"P"); String valTpesContratsAffilies = contratHelper.getTypeContratsAffilies(context,"1"); String query = ""; if(ct_TypeContrat != null){ String codeContrat = dico.getRefCode("Ct_TypeContrat", ct_TypeContrat); // Construction de la requête pour les conrats principaux String[] valPrincipaux = valRestrPrincipaux.split(";"); query = "["; for( int i=0 ; i< valPrincipaux.length ; i++ ){ if( i != (valPrincipaux.length -1)) { query = query + "[Ct_TypeContrat:RefVal = '" + valPrincipaux[i] + "'],"; } else { query = query + "[Ct_TypeContrat:RefVal = '" + valPrincipaux[i] + "']"; } } query = query + "]"; // modif de la query pour qu'elle prenne en compte l'afficheage //[[Ct_TypeContrat:RefVal = 'LE'], [Ct_TypeContrat:RefVal = 'L']] String[] tabvalRestrSecondaires = valRestrSecondaires.split(";"); String[] tabvalTpesContratsAffilies = valTpesContratsAffilies.split(";"); for(int i=0; i< tabvalRestrSecondaires.length; i++){ if(codeContrat.equals(tabvalRestrSecondaires[i])){ afficherChampCtrPrincipal = true; } } for(int i=0; i< tabvalTpesContratsAffilies.length; i++){ if(codeContrat.equals(tabvalTpesContratsAffilies[i])){ afficherChampsContratsAffilies = true; } } } String rompuState=null; try { rompuState = dico.getRefIdByCode("Cs_", "Te1", "RMP"); } catch (Exception e) { rompuState = ""; } boolean isRompu = false; String statutContrat = null; try { statutContrat = (String)Contrat_.getCt_Statut(); if(statutContrat.equals(rompuState)) { isRompu = true; } } catch (FieldNotInitializedException fnie) { } String contratVAL=null; try { contratVAL = dico.getRefIdByCode("Cs_", "Te1", "VAL"); } catch (Exception e) { contratVAL = ""; } String modeReglement=null; try { modeReglement = dico.getRefIdByCode("Mg_", "Te1", "MS"); } catch (Exception e) { modeReglement = ""; } // On récupère l'ID de l'acteur connecté String actID = null; if (session != null) { actID = (String)session.getAttribute("effectiveActorID"); if (actID == null) { actID = (String)session.getAttribute("actorID"); if (actID == null) { throw new FrontlineException("there is not an actor ID in session"); } } } try { ActorBean act = new ActorBean(actID, context); Vector<String> actRolesIDs = new Vector<String>(); actRolesIDs.addAll(act.getRoles()); String roleADMID = dico.getRefIdByCode("ActRoles", "ADMIN"); /* Role Administrateur*/ String roleTECHADMID = dico.getRefIdByCode("ActRoles", "S_ADM_TECH"); /* Role Administrateur Technique*/ // rappatrier les rôles concernés par le type actuel de l'entreprise String roles = ""; roles = context.getContextParameter("Hab_Contrat"); String rolesTab[] = roles.split("&"); for (int i = 0; i < actRolesIDs.size(); i++) { String actRoleIDactuel = actRolesIDs.get(i).toString(); System.out.println("actRoleIDactuel = "+actRoleIDactuel); if( (actRoleIDactuel.equalsIgnoreCase(roleADMID) ) ) { valRestr +=""; } else if (actRoleIDactuel.equalsIgnoreCase(roleTECHADMID)){ valRestr +=""; } for (int j=0; j<rolesTab.length ; j++) { String roletabActuel = rolesTab[j].toString(); Vector<String> roleNameType = Utils.explodeList(roletabActuel, "|"); String roleName = roleNameType.firstElement(); String roleType = roleNameType.lastElement(); if(roleName != null) { String refValueRole = (String) dico.getRefCode("ActRoles", actRoleIDactuel); if(refValueRole.equals(roleName)) { if(valRestr.equals("")){ valRestr += roleType; }else{ valRestr += ";"+roleType; } } else if("ALL".equals(roleName)) { if(valRestr.equals("")){ valRestr += roleType; }else{ valRestr += ";"+roleType; } } } } } } catch (Exception e) { } Date ct_DateEffet = null; try{ ct_DateEffet = (Date) Contrat_.getCt_DateEffet(); }catch(FrontlineException fle){ } boolean isModified = ct_DateEffet == null ? false : true; %> <script type="text/javascript" language="javascript"> function doSubmit() { var f = document.forms[0]; return true; } function doCt_TypeChange() { doRefreshContrat_(); } function doHideAndShowRecurrence() { var tacite = document.getElementById("Ct_TaciteRecond"); var recurrenceField = document.getElementById("recurrenceField"); var visibility = "hidden"; if(tacite.checked) { visibility="visible"; } recurrenceField.style.visibility=visibility; } function showOrHideFields() { var modeReg = document.getElementById("Ct_ModeReg").value; var nbMois = document.getElementById("Ct_NbMois"); var moisDebut = document.getElementById("Ct_MoisDebut"); var visibility = "hidden"; if(modeReg=='00012d0001d41df7') { visibility="visible"; } nbMois.style.visibility=visibility; moisDebut.style.visibility=visibility; } function doRefreshContrat_() { var f = document.forms[0]; f.action = "<fl:webapp/>/refresh_contrat_.fl"; f.submit(); } function doChangeStatusContrat_() { if(selectedStatus != 0){ if (confirm('<fl:getMessage code="LF33A" alt="Etes-vous sûr de vouloir changer le statut de ce Contrat ?" js="true"/>')) { if($("#Ct_Statut").length != 0 && '<%=contratVAL%>' == $("#Ct_Statut").val() && (($("input[name=Ct_TempSg]").val().length != 0 && $("#Ct_TypeContrat").length != 0 && $("#Ct_TypeContrat").val().length != 0) || $("input[name=id]").val().length != 0)){ var args = '&Ct_Statut=' + $("#Ct_Statut").val() + '&Ct_TypeContrat=' + $("#Ct_TypeContrat").val() + '&Ct_TempSg=' + $("input[name=Ct_TempSg]").val() + '&Ct_ID=' + $("input[name=id]").val(); $.ajax({ url: "<fl:webapp/>/check_contrat_doublon.fl?" + args, async: false, success: function (data) { if (data.message != "0") { alert('<fl:getMessage code="MF1C4" alt="Il y a déjà un contrat principal du même type avec un statut \'Valide\', Veuillez modifier le type de contrat ou son statut." js="true"/>'); document.getElementById("Ct_Statut").selectedIndex = -1; }else{ selectedStatus = document.getElementById("Ct_Statut").selectedIndex; var f = document.forms[0]; f.action = "<fl:webapp/>/refresh_contrat_.fl"; f.submit(); } } }); } }else{ document.getElementById("Ct_Statut").selectedIndex = selectedStatus; } }else{ if($("#Ct_Statut").length != 0 && '<%=contratVAL%>' == $("#Ct_Statut").val() && (($("input[name=Ct_TempSg]").val().length != 0 && $("#Ct_TypeContrat").length != 0 && $("#Ct_TypeContrat").val().length != 0) || $("input[name=id]").val().length != 0)){ var args = '&Ct_Statut=' + $("#Ct_Statut").val() + '&Ct_TypeContrat=' + $("#Ct_TypeContrat").val() + '&Ct_TempSg=' + $("input[name=Ct_TempSg]").val() + '&Ct_ID=' + $("input[name=id]").val(); $.ajax({ url: "<fl:webapp/>/check_contrat_doublon.fl?" + args, async: false, success: function (data) { if (data.message != "0") { alert('<fl:getMessage code="MF1C4" alt="Il y a déjà un contrat principal du même type avec un statut \'Valide\', Veuillez modifier le type de contrat ou son statut." js="true"/>'); document.getElementById("Ct_Statut").selectedIndex = -1; } } }); } } } function doChangeTypeContrat() { var typeContrat = document.forms[0].Ct_TypeContrat; if(typeContrat != null && typeContrat.value != "") { var typeContratVal = typeContrat.options[typeContrat.selectedIndex].text; document.getElementById("alerteEchField").style.visibility= "hidden"; if(typeContratVal == "Logis") { $('input[id=Ct_TaciteRecond]').attr('checked',true); $('input[id=Ct_TaciteRecond]').attr('readonly',true); } else { $('input[id=Ct_TaciteRecond]').attr('checked',<%= visibleRec %>); $('input[id=Ct_TaciteRecond]').removeAttr("readonly"); } doHideAndShowRecurrence(); } if($("#Ct_Statut").length != 0 && '<%=contratVAL%>' == $("#Ct_Statut").val() && (($("input[name=Ct_TempSg]").val().length != 0 && $("#Ct_TypeContrat").length != 0 && $("#Ct_TypeContrat").val().length != 0) || $("input[name=id]").val().length != 0)){ var args = '&Ct_Statut=' + $("#Ct_Statut").val() + '&Ct_TypeContrat=' + $("#Ct_TypeContrat").val() + '&Ct_TempSg=' + $("input[name=Ct_TempSg]").val() + '&Ct_ID=' + $("input[name=id]").val(); $.ajax({ url: "<fl:webapp/>/check_contrat_doublon.fl?" + args, async: false, success: function (data) { if (data.message != "0") { alert('<fl:getMessage code="MF1C4" alt="Il y a déjà un contrat principal du même type avec un statut \'Valide\', Veuillez modifier le type de contrat ou son statut." js="true"/>'); document.getElementById("Ct_Statut").selectedIndex = -1; } } }); } } function doOnLoad() { var typeContratVal = '<%=ct_TypeContrat%>'; var prestaId = '<%=typeContratPrestationID%>'; var partId = '<%=typeContratPartID%>'; var fournId = '<%=typeContratFournID%>'; if(typeContratVal == prestaId || typeContratVal == partId || typeContratVal == fournId ) { document.getElementById("alerteEchField").style.visibility= "visible"; } else { document.getElementById("alerteEchField").style.visibility= "hidden"; } doHideAndShowRecurrence(); } var contratPrincipalValue = ""; $(document).ready(function(){ contratPrincipalValue = $("#Ct_ContratPrincipal").val(); if($("#Ct_ContratPrincipal").length !=0 && $("input[name=id]").val().length == 0){ MutationObserver = window.MutationObserver || window.WebKitMutationObserver; var trackChange = function(element) { var observer = new MutationObserver(function(mutations, observer) { if(mutations[0].attributeName == "value") { $(element).trigger("change"); } }); observer.observe(element, { attributes: true }); } // Just pass an element to the function to start tracking trackChange( $("#Ct_ContratPrincipal")[0] ); $( "#Ct_ContratPrincipal" ).change(function() { if(contratPrincipalValue != $("#Ct_ContratPrincipal").val()){ doRefreshContrat_(); } }); $("#Ct_ContratPrincipal_icons > a.fob").each(function(index){ $(this).attr("href",$(this).attr("href")+";doRefreshContrat_();");}); if ($('#Ct_ContratPrincipal').val() != ''){ var args = '&Ct_ContratPrincipal='+ $("#Ct_ContratPrincipal").val(); $.ajax({ url: "<fl:webapp/>/check_contrat_status.fl?" + args, async: false, success: function (data) { if (data.message.length != 0) { alert(data.message); } }, error:function (xhr, ajaxOptions, thrownError){ //alert(xhr.status); //alert(thrownError); } }); } } }); </script> <fl:form action="save_contrat_.fl" bean="Contrat_"> <input type="hidden" name="Ct_TempSg" value="<%=tempSg%>"> <input type="hidden" name="Ct_ContratHonore" value="<%=conthonore%>"/> <fl:bigTabs objectTitle="<%=Utils.getMessage(session, \"LF015\", \"Contrat\")%>" ou="<%= \"edit_contrat_.fl\" + (id != null ? \"?id=\" + id : \"\")%>" > <table class="container" cellpadding="0"> <tr class="ligne_separation"><td></td></tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <tr class="fieldLine"> <% if(id == null) { %> <fl:fieldEdit property="Ct_TypeContrat" alt="" except="<%=valRestr%>" mandatoryMsgCode="MF021" onchange="javascript:doCt_TypeChange();doChangeTypeContrat();"/> <%} else {%> <fl:fieldRead property="Ct_TypeContrat"/> <%} %> <tr class="fieldline"> <td id="CtVoie_label" class="dataLabel"><span style="color:#0000;font-weight: bold;"> </span></td> </tr> <fl:fieldEdit property="Ct_TaciteRecond" onclick="javascript:doHideAndShowRecurrence();" /> <tr id="recurrenceField" class="fieldline" style="visibility:hidden"> <td class="dataLabel"><fl:getMessage code="FF09F" alt="Récurrence (année)"/></td> <td class="dataValue"><fl:input property="Ct_Recurrence" /></td> </tr> <tr class="fieldline"> <td id="CtVoie_label" class="dataLabel"><span style="color:#0000;font-weight: bold;"> </span></td> </tr> <% if(id == null) { %> <fl:fieldEdit property="Ct_ContratPrincipal" query="<%=query%>" /> <%} else if (id != null) { %> <fl:fieldRead property="Ct_ContratPrincipal" bean="true" href="true" disp="<%= flRequest.computeURL(\"/read_contrat_.fl\") %>"/> <%}%> <tr class="fieldline"> <td id="CtVoie_label" class="dataLabel"><span style="color:#0000;font-weight: bold;"> </span></td> </tr> <fl:fieldEdit property="Ct_DateSignature"/> <%if(statutContrat != null && "VAL".equals(dico.getRefCode("Ct_Statut", statutContrat)) && isModified) {%> <fl:fieldEdit property="Ct_DateEffet" mandatoryMsgCode="MF0DE"/> <% } else { %> <fl:fieldEdit property="Ct_DateEffet"/> <% } %> <fl:fieldEdit property="Ct_DateFin"/> <tr id="alerteEchField" class="fieldline" style="visibility:hidden"> <td class="dataLabel"><fl:getMessage code="FF0D3" alt="Date d\'alerte de fin d\'échéance"/></td> <td class="dataValue"><fl:input property="Ct_DateAlerteEch" /></td> </tr> <fl:fieldEdit property="Ct_ModeReg" alt="" mandatoryMsgCode="MF022" onchange="javascript:showOrHideFields();"/> <tr id="Ct_NbMois" class="fieldline" style="visibility:hidden"> <td class="dataLabel"><fl:getMessage code="FF2C2" alt="Nombre de mois"/></td> <td class="dataValue"> <% try { Vector<Vector<String>> values = dico.getRefList(session, "Ee_", "Te1"); %> <select name="Ct_NbMois" style="background-color: #FDCBCC" > <% if (values != null) { for (Vector val : values) { String refID = (String)val.firstElement(); Object refDisp = val.elementAt(1); %> <option value="<%= Utils.formatToWeb(refDisp, true) %>" <%if(NbMois.toString().equals(refDisp)){%> selected=selected<%}%>><%= Utils.formatToWeb(refDisp, false) %></option> <% } } %> </select> <% }catch (FrontlineException fle) { } %> </td> </tr> <tr id="Ct_MoisDebut" class="fieldline" style="visibility:hidden"> <td class="dataLabel"><fl:getMessage code="FF2C3" alt="Nombre de mois"/></td> <td class="dataValue"> <select name="Ct_MoisDebut" style="background-color: #FDCBCC"> <option value="01" <%if(MoisDebut.equals("01")){%>selected=selected<%}%>>01</option> <option value="02" <%if(MoisDebut.equals("02")){%>selected=selected<%}%>>02</option> <option value="03" <%if(MoisDebut.equals("03")){%>selected=selected<%}%>>03</option> <option value="04" <%if(MoisDebut.equals("04")){%>selected=selected<%}%>>04</option> <option value="05" <%if(MoisDebut.equals("05")){%>selected=selected<%}%>>05</option> <option value="06" <%if(MoisDebut.equals("06")){%>selected=selected<%}%>>06</option> <option value="07" <%if(MoisDebut.equals("07")){%>selected=selected<%}%>>07</option> <option value="08" <%if(MoisDebut.equals("08")){%>selected=selected<%}%>>08</option> <option value="09" <%if(MoisDebut.equals("09")){%>selected=selected<%}%>>09</option> <option value="10" <%if(MoisDebut.equals("10")){%>selected=selected<%}%>>10</option> <option value="11" <%if(MoisDebut.equals("11")){%>selected=selected<%}%>>11</option> <option value="12" <%if(MoisDebut.equals("12")){%>selected=selected<%}%>>12</option> </select> </td> </tr> <fl:fieldEdit property="Ct_Statut" alt="" mandatoryMsgCode="MF023" onchange="javascript:doChangeStatusContrat_();"/> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2" > <table class="data_column" cellpadding="0"> <tr class="fieldLine"> <%-- <fl:fieldEdit property="Ct_InterlocuteurPrivilegie" mandatoryMsgCode="MF024"/> --%> <fl:fieldEdit property="Ct_InterlocuteurPrivilegie" /> <tr class="fieldline"> <td id="CtVoie_label" class="dataLabel"><span style="color:#0000;font-weight: bold;"> </span></td> </tr> <% if(!isPrestation) { %> <fl:fieldEdit property="Ct_LocationEnseigne"/> <%} %> <% if(afficherChampsContratsAffilies) { %> <fl:fieldEdit property="Ct_NombreChambres"/> <fl:fieldEdit property="Ct_Marque"/> <fl:fieldEdit property="Ct_DateDerniereVerif"/> <%} %> <fl:fieldEdit property="Ct_LCBSNbPaiment_"/> </tr> </table> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <table class="container" cellpadding="0"> <tr class="ligne_separation"><td></td></tr> <tr> <td class="titrePartie"><fl:getMessage code="L64B4" alt="Commentaires"/></td> </tr> <tr> <td class="dataValue noPaddingLeft"> <fl:input property="Ct_Commentaires" style="width:100%" nodiv="false"/> </td> </tr> <tr class="ligne_separation"><td></td></tr> <tr class="ligne_separation_couleur"><td></td></tr> <tr class="ligne_separation"><td></td></tr> </table> <fl:smallTabs name="Contrat_Tabs"> <%-- <% if(!isPrestation){ %> --%> <fl:sTab id="DonneesTech" title="<%= Utils.getMessage(session, \"LF060\", \"Données techniques\") %>"> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <tr class="fieldLine"> <% if(afficherChampsContratsAffilies) {%> <fl:fieldEdit property="Ct_TauxCommission" alt=""/> <fl:fieldEdit property="Ct_NatureContrat" alt=""/> <fl:fieldEdit property="Ct_DelaiPaiement" alt=""/> <fl:fieldEdit property="Ct_Garantie" postText=" €"/> <fl:fieldEdit property="Ct_TypeInterface" alt=""/> <fl:fieldEdit property="Ct_LoginPrincipal"/> <%} %> </tr> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <tr class="fieldLine"> <% if(afficherChampsContratsAffilies) { %> <fl:fieldEdit property="Ct_InterlocuteursTechniques"/> <%} %> <fl:fieldEdit property="Ct_DateProchAudit"/> <fl:fieldEdit property="Ct_DateAdhesion"/> <fl:fieldEdit property="Ct_NumContrat" readOnly="true"/> <%if(afficherChampsContratsAffilies) {%> <fl:fieldEdit property="Ct_FrequenceInterface"/> <%} %> <fl:fieldEdit property="Ct_StatutProcedure"/> <fl:fieldEdit property="Ct_Encourspros" alt="" onchange="doRefreshContrat_();"/> <%if(encourspros.equalsIgnoreCase(encoursprosOUI) ) {%> <fl:fieldEdit property="Ct_DateEnCoursProc"/> <% } %> </tr> </table> </td> </tr> </table> </fl:sTab> <%-- <%} %> --%> <fl:sTab id="Fichiers" title="<%=Utils.getMessage(session, \"L201C\", false, true, \"Fichiers\")%>"> <div> <table class="container" cellpadding="0"> <tr class="fieldline"> <td> <fl:attach name="Contrat_" colID="Ct_Fichiers" /> </td> </tr> </table> </div> </fl:sTab> <fl:sTab id="Partenaire" title="Partenaire"></fl:sTab> </fl:smallTabs> </fl:bigTabs> </fl:form> <script type="text/javascript" language="javascript"> var selectedStatus = document.getElementById("Ct_Statut").selectedIndex; showOrHideFields(); </script>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de