Edit C:\Users\Administrator\Desktop\Back\galaxie - Copy\sales\contrat_\read_action.jsp
<% /****************************************************************************** * Copyright (c) 2000-2004 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="java.util.*" %> <%@ page import="com.edeal.frontline.navigation.FlRequest"%> <%@ page import="com.edeal.frontline.*" %> <%@ 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.ActorBean"%> <%@ page import="com.edeal.frontline.custom.Signataire_Bean"%> <%@ page import="com.edeal.frontline.custom.Contrat_Bean"%> <%@ page import="java.util.Vector" %> <%@ page import="java.util.Hashtable"%> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.custom.Contrat_Bean" id="Contrat_" scope="request"/> <% 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; try { id = Contrat_.getID(); } catch (FieldNotInitializedException fnie) {} String idCtrPrincipal = null; try { idCtrPrincipal = Contrat_.getCt_ContratPrincipal(); } catch (FieldNotInitializedException fnie) {} String valideState = null; String rompuState = null; String suspenduState = null; String archiveState = null; String enCoursvalideState = null; String ct_TypeContrat = null; try { ct_TypeContrat = Contrat_.getCt_TypeContrat(); } catch (FieldNotInitializedException e){ } try { valideState = dico.getRefIdByCode("Cs_", "Te1", "VAL"); } catch (Exception e) { valideState = ""; } try { enCoursvalideState = dico.getRefIdByCode("Cs_", "Te1", "EAV"); } catch (Exception e) { enCoursvalideState = ""; } try { rompuState = dico.getRefIdByCode("Cs_", "Te1", "RMP"); } catch (Exception e) { rompuState = ""; } try { suspenduState = dico.getRefIdByCode("Cs_", "Te1", "SUS"); } catch (Exception e) { suspenduState = ""; } try { archiveState = dico.getRefIdByCode("Cs_", "Te1", "ARC"); } catch (Exception e) { archiveState = ""; } // id de la famille de produits "Enseignes" String enseigneFamID = null; try { //enseigneFamID = dico.getRefIdByCode("Pf_", "Te1", "ENS"); enseigneFamID = "STACI"; } catch (Exception e) { } // voir si le contrat est valide boolean isValide = false; boolean isEncoursValidation = false; boolean isRompu = false; boolean isSuspendu = false; boolean isArchive = false; String statutContrat = null; try { statutContrat = (String)Contrat_.getCt_Statut(); if(statutContrat.equals(valideState)) { isValide = true; } else if(statutContrat.equals(rompuState)) { isRompu = true; } else if(statutContrat.equals(suspenduState)) { isSuspendu = true; } else if(statutContrat.equals(archiveState)) { isArchive = true; } else if(statutContrat.equals(enCoursvalideState)) { isEncoursValidation = true; } } catch (FieldNotInitializedException fnie) { } // récupérer le Tiers signataire du contrat String sgTiers = null; Vector <Hashtable> sg_List = new Vector<Hashtable>(); try { sg_List = Contrat_.getContrat_Signataires("1"); // on prend le premier if (sg_List != null && !sg_List.isEmpty()) { Hashtable tabSgs = (Hashtable)sg_List.firstElement(); sgTiers = (String)tabSgs.get("EntID"); } } catch (FrontlineException fe) { } // récupérer les exploitants signataires du contrat String sgExploitant = null; Vector <Hashtable> sgExp_List = new Vector<Hashtable>(); try { sgExp_List = Contrat_.getContrat_Signataires("2Exp"); // on prend le premier if (sgExp_List != null && !sgExp_List.isEmpty()) { Hashtable tabSgsExp = (Hashtable)sgExp_List.firstElement(); sgExploitant = (String)tabSgsExp.get("PerID"); } } catch (FrontlineException fe) { } // voir si on a besoin de notifier STACI Boolean isNotifierStaci = false; try { isNotifierStaci = (Boolean)Contrat_.isCt_STACINotification(); } catch (FieldNotInitializedException fnie) { } // l'affilié ne peut avoir d'enseignes boolean isCt_LocationEnseigne = false; try { isCt_LocationEnseigne = Contrat_.isCt_LocationEnseigne(); } catch (FieldNotInitializedException fnie) { } String todoID; try { todoID = dico.getRefIdByCode("IntType_", "ACT"); } catch (FrontlineException e) { todoID = ""; } Boolean fHasRightModif = false; Boolean fHasRightSupp = false; 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*/ /*String roleCommID = dico.getRefIdByCode("ActRoles", "C_COMRCLE"); /* Role Commercial*/ /*String roleResAchID = dico.getRefIdByCode("ActRoles", "A_RESP_ACHAT"); /* Role Resp achat*/ /*String roleAssAchID = dico.getRefIdByCode("ActRoles", "A_ASSIST_ACHAT"); /* Role Asst Resp achat*/ /*String roleRespResAffID = dico.getRefIdByCode("ActRoles", "R_RESP_RES_AFFIL"); /* Role Responsable Affilies */ /*String roleDevAffID = dico.getRefIdByCode("ActRoles", "R_DEV_AFFIL"); /* Role Dev Affilies */ /*String roleRespPoleJurID = dico.getRefIdByCode("ActRoles", "J_RESP_POLE_JUR"); /* Responsable Pôle Juridique */ /*String roleAssPoleJurID = dico.getRefIdByCode("ActRoles", "J_ASSIST_POLE_JUR"); /* Assistant Pôle Juridique */ /* String roleAssResAffID = dico.getRefIdByCode("ActRoles", "R_ASSIST_RES_AFFIL"); /* Assistant Réseau Affiliés */ /* for (int i = 0; i < actRolesIDs.size(); i++) { String actRoleIDactuel = actRolesIDs.get(i).toString(); if (ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "PT")) && actRoleIDactuel.equalsIgnoreCase(roleCommID)) { fHasRightModif = true; } else if( (ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "FA"))) && (actRoleIDactuel.equalsIgnoreCase(roleResAchID) || actRoleIDactuel.equalsIgnoreCase(roleAssAchID)) ) { fHasRightModif = true; /* si c'est le contrat de type Logis ou Logis d'exception } else if( (ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "L")) || ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "LE"))) && ( actRoleIDactuel.equalsIgnoreCase(roleRespResAffID) || actRoleIDactuel.equalsIgnoreCase(roleDevAffID) || actRoleIDactuel.equalsIgnoreCase(roleRespPoleJurID) || actRoleIDactuel.equalsIgnoreCase(roleAssPoleJurID) || actRoleIDactuel.equalsIgnoreCase(roleAssResAffID) ) ) { fHasRightModif = true; } else if( !(ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "L")) || ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "LE")) || ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "FA")) || ct_TypeContrat.equals((String)dico.getRefIdByCode("Ct_TypeContrat", "PT")) ) ) { fHasRightModif = true; } else if( (actRoleIDactuel.equalsIgnoreCase(roleADMID) || actRoleIDactuel.equalsIgnoreCase(roleTECHADMID)) ) { fHasRightModif = true; } } } catch (FrontlineException e) { } */ try { String typOrganisation = null; typOrganisation = Contrat_.getCt_TypeContrat(); 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*/ String role6ID = dico.getRefIdByCode("ActRoles", "R_CHARGE_WEB"); /* Role charge web*/ // rappatrier les rôles concernés par le type actuel de l'entreprise String roles = ""; roles = (String)dico.getRefDisp(session, "Cp_", "Te3", typOrganisation); String rolesTab[] = roles.split(";"); for (int i = 0; i < actRolesIDs.size(); i++) { String actRoleIDactuel = actRolesIDs.get(i).toString(); if( (actRoleIDactuel.equalsIgnoreCase(roleADMID) ) ) { fHasRightModif = true; fHasRightSupp = true; } else if (actRoleIDactuel.equalsIgnoreCase(roleTECHADMID)){ fHasRightModif = true; } for (int j=0; j<rolesTab.length ; j++) { String roletabActuel = rolesTab[j].toString(); Vector<String> roleNameType = Utils.explodeList(roletabActuel, "|"); String roleType = roleNameType.firstElement(); String roleName = roleNameType.lastElement(); if(roleType.equals("M")) { // Modification String refValueRole = (String) dico.getRefCode("ActRoles", actRoleIDactuel); if(refValueRole.equals(roleName)) { fHasRightModif = true; } else if("ALL".equals(roleName)) { fHasRightModif = true; } } else if (roleType.equals("S")) { // Suppression // Modification String refValueRole = (String) dico.getRefCode("ActRoles", actRoleIDactuel); if(refValueRole.equals(roleName)) { fHasRightSupp = true; } else if("ALL".equals(roleName)) { fHasRightSupp = true; } } } } } catch (Exception e) { } /* String idSignataire = null; String[] fields = {"Sg_ID"}; String[][] query = {{"Sg_Contrat = '" + id + "'"}}; Vector list = Signataire_Bean.listSummary(context, fields, query); if(list != null && !list.isEmpty()) { Hashtable tab = (Hashtable)list.firstElement(); idSignataire = (String)tab.get("Sg_ID"); } */ %> <script language="javascript"> function products() { window.open('<fl:link list="false" url="<%= \"/edit_contratproduit_.fl?initCr_Contrat=\" + id %>"/>','ChoixProduit', 'width=1000,height=668,resizable'); } function partenaires() { window.open('<fl:link list="false" url="<%= \"/create_contratpartenaire_.fl?initCp_Contrat=\" + id %>"/>&popup=1','ChoixPartenaire', 'width=800,height=368,resizable'); } function signataires() { window.open('<fl:link list="false" url="<%= \"/select_signataire.fl?initSg_Contrat=\" + id %>"/>', 'ChoixSignataire', 'width=1000,height=668,resizable'); } function enseignes() { window.open('<fl:link list="false" url="<%= \"/select_enseignes.fl?id=\" + id+ ( sgTiers != null ? \"&EntID=\" + sgTiers : \"\") %>"/>', 'ChoixEnseigne', 'width=1000,height=668,resizable'); } function doDelete(){ if (confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/delete_contrat_.fl?id=\" + id%>"/>'; } } function doDisable(){ if (confirm('<fl:getMessage code="MF020" alt="Etes-vous sûr de vouloir désactiver cette fiche ?" js="true"/>')) { window.parent.location = '<fl:link url="<%= \"/disable_contrat_.fl?id=\" + id%>"/>'; } } function doDesactiver(){ if (confirm('<fl:getMessage code="LF337" alt="Etes-vous sûr de vouloir désactiver ce Contrat ?" js="true"/>')) { window.parent.location = '<fl:link list="true" url="<%= \"/archiver_contrat.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doRompre(){ if (confirm('<fl:getMessage code="LF338" alt="Etes-vous sûr de vouloir rompre ce Contrat ?" js="true"/>')) { window.parent.location = '<fl:link list="true" url="<%= \"/rompre_contrat.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doSuspendre(){ if (confirm('<fl:getMessage code="LF339" alt="Etes-vous sûr de vouloir suspendre ce Contrat ?" js="true"/>')) { window.parent.location = '<fl:link list="true" url="<%= \"/suspendre_contrat.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function fichier() { window.open('<fl:link list="false" url="<%= \"/addfile_contrat_.fl?$$presentFields=&id=\" + id %>"/>','Fichier', 'width=450,height=200,scrollbars=yes,resizable=no,toolbar=no'); } function transReprise() { window.open('<fl:link list="false" url="<%= \"/modifierSgReprise.fl?$$presentFields=&id=\" + id %>"/>','Contrat_', 'width=750,height=310,scrollbars=yes,resizable=yes,toolbar=no'); } function transSansReprise() { window.open('<fl:link list="false" url="<%= \"/modifierSgSansReprise.fl?$$presentFields=&id=\" + id %>"/>','Contrat_', 'width=750,height=310,scrollbars=yes,resizable=yes,toolbar=no'); } </script> <% if(fHasRightModif) { %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_contrat_.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="A0008" alt="Modifier"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} if (fHasRightSupp) { %> <fl:access operation="delete" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDelete();"> <p class="actions_tabletext"><fl:getMessage code="A0007" alt="Supprimer"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <% if( isRompu || isSuspendu || isArchive ) { %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/reintegrer_contrat.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF164" alt="Réintégrer le Contrat"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <% } else { %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDesactiver();"> <p class="actions_tabletext"><fl:getMessage code="L826B" alt="Désactiver"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <% if(isValide || isEncoursValidation) { %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doRompre();"> <p class="actions_tabletext"><fl:getMessage code="LF111" alt="Rompre le contrat"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <% if(idCtrPrincipal == null){ %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/create_contrat_.fl\" + ( id != null ? \"?initCt_ContratPrincipal=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF165" alt="Ajouter un sous-contrat"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doSuspendre();"> <p class="actions_tabletext"><fl:getMessage code="LF13A" alt="Suspendre le contrat"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%-- <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/envoyer_contrat.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF13B" alt="Envoyer au(x) signataire(s)"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> --%> <%-- <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:transReprise()"> <p class="actions_tabletext"><fl:getMessage code="LF112" alt="Transférer le contrat"/></p> <p style="font-family: Arial,Verdana,sans-serif; color: #777777; font-size: 10px; margin: 0; overflow: hidden; padding: 0; vertical-align: top; white-space: nowrap; width: 100%;"><fl:getMessage code="LF116" alt="Acceptation de reprise"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> --%> <%-- Mantis 29110 <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:transSansReprise()"> <a href="<fl:link list="true" url="<%= \"/transferer_contrat_refus.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF112" alt="Transférer le contrat"/></p> <p style="font-family: Arial,Verdana,sans-serif; color: #777777; font-size: 10px; margin: 0; overflow: hidden; padding: 0; vertical-align: top; white-space: nowrap; width: 100%;"><fl:getMessage code="LF115" alt="Refus de reprise"/> </p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> --%> <%} %> <% if(isValide && !isCt_LocationEnseigne) { %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/create_opportunity.fl\" + ( id != null ? \"?initOppCmdTypo_=STASI&initOpp=DEV&initOppAffiliationCtID_=\" + id : \"\") + ( sgExploitant != null ? \"&initOppPerID=\" + sgExploitant : \"\") + ( sgTiers != null ? \"&initOppEntID=\" + sgTiers : \"\") + ( enseigneFamID != null ? \"&initPrdFamilleProduit_=\" + enseigneFamID : \"\")%>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF239" alt="Devis STACI" /></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/create_opportunity.fl\" + ( id != null ? \"?initOppCmdTypo_=STASI&initOpp=ORD&initOppAffiliationCtID_=\" + id : \"\") + ( sgExploitant != null ? \"&initOppPerID=\" + sgExploitant : \"\") + ( sgTiers != null ? \"&initOppEntID=\" + sgTiers : \"\") + ( enseigneFamID != null ? \"&initPrdFamilleProduit_=\" + enseigneFamID : \"\")%>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF16E" alt="Commande STACI"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <% if(isNotifierStaci && isValide) { %> <%-- <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/notifier_staci.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="FF1A9" alt="Notifier STACI"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> --%> <%} %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:signataires();"> <p class="actions_tabletext"><fl:getMessage code="LF061" alt="Signataire +"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <% if(idCtrPrincipal == null){ %> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:enseignes();"> <p class="actions_tabletext"><fl:getMessage code="MF133" alt="Transfert d'opportunités"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <%} %> <fl:access name="Interaction" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="/create_interaction.fl?" />&IntType_=<%=todoID%>&initIntContrat=<%=id%>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Todo"/> +</p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <!-- <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:products();"> <p class="actions_tabletext"><fl:getMessage code="L63B9" alt="Produit +"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> --> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:partenaires();"> <p class="actions_tabletext"><fl:getMessage code="FF071" alt="Partenaire"/> +</p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <fl:access operation="edit" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:fichier()"> <p class="actions_tabletext"><fl:getMessage code="FF0BE" alt="Fichier +"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr> <tr> <td class="actions_cell_left"></td> <td class="actions_tablecell_seperator"></td> <td class="actions_cell_right"></td> </tr> </fl:access> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<%=flRequest.computeURL("/contrat_quicklook.fl"+(id!=null ? "?id="+id : ""))%>" > <p class="actions_tabletext"><fl:getMessage code="L7009" alt="Quicklook"/></p> </a> </div> </td> <td class="actions_cell_right"></td> </tr>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de