Edit C:\Windows\install\galaxie_p01_01-10\sales\enterprise\read_action.jsp
<%@page import="com.edeal.frontline.helper.DecisionDataBaseHelper"%> <% /****************************************************************************** * Copyright (c) 2000-2011 E-DEAL * * E-DEAL S.A. * 41, rue P�rier * 92120 Montrouge * France * * T: +33 (0)1 73 03 29 80 * 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.AccessControlManager" %> <%@ page import="com.edeal.frontline.PersonBean" %> <%@ page import="com.edeal.frontline.LocationBean" %> <%@ page import="com.edeal.frontline.InteractionBean" %> <%@ page import="com.edeal.frontline.OpportunityBean" %> <%@ page import="com.edeal.frontline.custom.*" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.helper.ContextHelper" %> <%@ page import="com.edeal.frontline.helper.custom.DocumentHelper" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <jsp:useBean class="com.edeal.frontline.EnterpriseBean" id="Enterprise" 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; try { id = Enterprise.getID(); } catch (Exception e) { id = null; } String corrID; try { corrID = dico.getRefIdByCode("IntType_", "COR"); } catch (FrontlineException e) { corrID = ""; } String todoID; try { todoID = dico.getRefIdByCode("IntType_", "ACT"); } catch (FrontlineException e) { todoID = ""; } //Traitement de la hierarchie boolean hasHierarchy = false; try { Enterprise.getEntParentID(); hasHierarchy = true; } catch (FieldNotInitializedException fe) { } catch (Exception e) {} if (!hasHierarchy) { String[] hFields={"EntID"}; String[][] hQuery={{"EntParentID="+Utils.formatToSQL(context,id),"EntID <> "+Utils.formatToSQL(context,id)}}; Vector hList = EnterpriseBean.listSummary(context,hFields,hQuery); if (hList.size() > 0) hasHierarchy = true; } // Tiers is an association String typOrganisation = null; boolean isAssociation = false; boolean isPartenaire = false; boolean isRestaurant = false; try { typOrganisation = Enterprise.getEntTyeID(); isAssociation = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ASSO")); isPartenaire = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "PART")); if(typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ETAB")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "RESTO"))) { isRestaurant = true; } } catch (FieldNotInitializedException e) { typOrganisation=""; } // On récupère l'ID de l'acteur connecté String actID = null; boolean fHasRightModif = false; 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 role1ID = dico.getRefIdByCode("ActRoles", "C_COMRCLE"); /* Role Commercial*/ String role2ID = dico.getRefIdByCode("ActRoles", "D_ATTACH_DIR"); /* Role Attache de Direction*/ String role3ID = dico.getRefIdByCode("ActRoles", "D_SECR_DIR"); /* Role Secretariat de direction */ String role4ID = dico.getRefIdByCode("ActRoles", "R_RESP_RES_AFFIL"); /* Role Responsable Affilies */ String role5ID = dico.getRefIdByCode("ActRoles", "R_DEV_AFFIL"); /* Role Developpement Affilies*/ for (int i = 0; i < actRolesIDs.size(); i++) { String actRoleIDactuel = actRolesIDs.get(i).toString(); if (typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "PART")) && actRoleIDactuel.equalsIgnoreCase(role1ID)) { fHasRightModif = true; } else if(typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ASSO")) && (actRoleIDactuel.equalsIgnoreCase(role2ID) || actRoleIDactuel.equalsIgnoreCase(role3ID)) ) { fHasRightModif = true; } else if(( typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ETAB")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "RESTO")) ) && (actRoleIDactuel.equalsIgnoreCase(role4ID) || actRoleIDactuel.equalsIgnoreCase(role5ID))) { fHasRightModif = true; } else if( (actRoleIDactuel.equalsIgnoreCase(roleADMID) || actRoleIDactuel.equalsIgnoreCase(roleTECHADMID)) ) { fHasRightModif = true; } } } catch (FrontlineException e) { } String activID; try { activID = dico.getRefIdByCode("EntStatus", "ON"); } catch (FrontlineException e) { activID = ""; } String desactivID; try { desactivID = dico.getRefIdByCode("EntStatus", "OFF"); } catch (FrontlineException e) { desactivID = ""; } String entStatusID = null; try { entStatusID = (String)Enterprise.getEntStatus(); } catch (FieldNotInitializedException e){ entStatusID = ""; } %> <script type="text/javascript" language="javascript"> function doDisable(){ if (window.confirm('<fl:getMessage code="MF089" alt="Etes-vous sûr de vouloir désactiver." js="true"/>') == true) { window.location = '<fl:link url="<%= \"/desactiver_entreprise.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doDelete() { if (window.confirm('<fl:getMessage code="M2004" alt="Etes-vous s�r de vouloir supprimer?" js="true"/>') == true) { window.location = '<fl:link url="<%= \"/delete_enterprise.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>'; } } function doFusion() { window.open('<fl:webapp/>/fusion_enterprise.fl?id=<%= id %>', 'MoveEnt', 'menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes, width=500, height=220'); } function doOpenHierarchy(){ window.open('<fl:webapp/>/tree_hierarchy.fl?entID=<%= id %>', 'Hierarchy', 'menubar=no,status=no,toolbar=no,scrollbars=auto,resizable=yes,width=860,height=600'); } function doWord(id,obj,informat) { format = "Word"; if (informat && informat == "PDF") { format = "PDF"; } window.open('<fl:webapp/>/fusion_document.fl?format=' + format + '&idObj='+id+'&object='+obj, 'listOpp', 'menubar=no,status=no,toolbar=no,scrollbars=auto,resizable=yes,width=860,height=460'); } // --Decision : analysis pop-up function doDecisionReport(id,objsql_id) { window.open('<fl:webapp/>/decision_popup.fl?objectID='+id+'&DdaObjID='+objsql_id+'&displayType=embedded&width=800&height=600', 'dec_popup', 'menubar=no,status=no,toolbar=no,scrollbars=auto,resizable=yes,width=860,height=350'); } </script> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1 actions_nolabel"> <% if (hasHierarchy){ %> <a title="<fl:getMessage code="L6556" alt="Hi�rarchie"/>" href="javascript:doOpenHierarchy();"> <img src="<fl:webapp/>/icons/hierarchy.gif" alt="<fl:getMessage code="L6556" alt="Hi�rarchie"/>" style="border: 0px;"/> </a> <% } if (DocumentHelper.hasDocumentWordML(session, context, "Enterprise")) { %> <a class="doc_fusion word" title="<fl:getMessage code="L6126" alt="G�n�rer Document Word"/>" href="javascript:doWord('<fl:getProperty name="Enterprise" property="EntID" alt=""/>','Enterprise','Word');"> <img src="<fl:webapp/>/icons/ico_word_inv.gif" border=0 width="15" height="15" alt="<fl:getMessage code="L6126" alt="G�n�rer Document Word"/>"> </a> <a class="doc_fusion pdf" title="<fl:getMessage code="L6557" alt="G�n�rer Document PDF"/>" href="javascript:doWord('<fl:getProperty name="Enterprise" property="EntID" alt=""/>','Enterprise','PDF');"> <img src="<fl:webapp/>/icons/ico_acrobat_inv.gif" border=0 width="15" height="15" alt="<fl:getMessage code="L6557" alt="G�n�rer Document PDF"/>"> </a> <% } String objSqlID=null; try { objSqlID=context.getDataDictionary().getTable("sql","Enterprise").getID(); } catch (Exception e) {} %> <% if(DecisionDataBaseHelper.objectHasAccess(session, context, objSqlID)) { %> <a class="" href="javascript:doDecisionReport('<fl:getProperty name="Enterprise" property="EntID" alt=""/>','<%= objSqlID %>');"> <img src="<fl:webapp/>/icons/ico_decision.gif" border="0" width="15" height="15" alt="<fl:getMessage code="L6087" alt="Analyses"/>"> </a> <% } %> </div> </td> <td class="actions_cell_right"></td> </tr> <% /*les droits de Modification de la fiche*/ if(fHasRightModif) { %> <fl:access name="Enterprise" operation="edit"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/edit_enterprise.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> <!-- <fl:access name="Enterprise" operation="delete"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDelete()"> <p class="actions_tabletext"><fl:getMessage code="" 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(entStatusID.equalsIgnoreCase(activID)) { %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="javascript:doDisable()"> <p class="actions_tabletext"><fl:getMessage code="AF001" 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> <%} else if (entStatusID.equalsIgnoreCase(desactivID)){ %> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/activer_entreprise.fl\" + ( id != null ? \"?id=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="AF002" alt="Activer"/></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> <%} %> <%} %> <% if(!isAssociation && !isPartenaire){ %> <%-- Personnes --%> <fl:access name="Person" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_person.fl\" + ( id != null ? \"?initPerEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Contact"/> +</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> <%-- Photos --%> <fl:access name="Photo_" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_photo_.fl\" + ( id != null ? \"?initPo_Tiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Photo"/> +</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> <%-- Textes --%> <fl:access name="Textes_" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_textes_.fl\" + ( id != null ? \"?initTxtTiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF037" alt="Textes"/> +</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> <%-- Equipement <fl:access operation="create" name="Equipement_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_equipement_.fl\" + ( id != null ? \"?initEq_TiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="FF03E" alt="Equipement"/> +</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> --%> <%-- Prix <fl:access operation="create" name="Price_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_price_.fl\" + ( id != null ? \"?initPrxTiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="F60B8" alt="Prix"/> +</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> --%> <%-- Ajout sollicitation --%> <fl:access operation="create" name="Solicitation"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_solicitation.fl\" + ( id != null ? \"?initSolTiersConcerne_=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="L104A" alt="Sollicitation"/> +</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="create" name="webConformity_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_webconformity_.fl\" + ( id != null ? \"?initWc_TiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF03A" alt="Conformité site Web"/> +</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> <%-- Commande --%> <fl:access operation="create" name="Opportunity"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_opportunity.fl\" + ( id != null ? \"?initOppCmdTypo_=OTHER&initOpp=DEV&initOppEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF035" alt="Commande"/> +</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="create" name="Opportunity"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_opportunity.fl\" + ( id != null ? \"?initOppCmdTypo_=STASI&initOpp=DEV&initOppEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF16E" alt="Commande STASI"/> +</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="create" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_contrat_tiers_.fl\" + ( id != null ? \"?initSgTiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF015" alt="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="create" name="Room_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_room_.fl\" + ( id != null ? \"?initRooTiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF06A" alt="Chambre"/> +</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(!isRestaurant){ %> <fl:access operation="create" name="Enterprise"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_restaurant.fl\" + ( id != null ? \"?initEntRatachHotelID_=\" + id +\"&initEntTyeID=\" + (String)dico.getRefIdByCode(\"EntTyeID\", \"RESTO\") : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="FF13A" alt="Restaurant"/> +</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="create" name="Fermetures_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_fermetures_.fl\" + ( id != null ? \"?initFerTiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF136" alt="Fermeture"/> +</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="create" name="OtherMrq_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_othermrq_.fl\" + ( id != null ? \"?initom_Tiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF070" alt="Autres Marques"/> +</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="create" name="OtherLbls_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_otherlbls_.fl\" + ( id != null ? \"?initol_Tiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="FF1D4" alt="Autres Labels"/> +</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="create" name="OtherGuides_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_otherguides_.fl\" + ( id != null ? \"?initog_Tiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="FF1D5" alt="Autres Guides"/> +</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="create" name="Enterprise"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_envies_.fl\" + ( id != null ? \"?initEnvTiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF06F" alt="Envie"/> +</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="create" name="Enterprise"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url=" \"/create_enterprise.fl\" + ( id != null ? \"?initRooEntID=\" + id : \"\") "/>"> <p class="actions_tabletext"><fl:getMessage code="L106B" alt="Courrier"/> +</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="create" name="webconformity_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/edit_webconformity_.fl\" + ( id != null ? \"?initWc_TiersID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF03A" alt="Conformité site Web"/> +</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\" + ( id != null ? \"?initIntEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF071" alt="Envoyer au Web"/></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> <%-- Instance --%> <fl:access operation="create" name="Event"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_event.fl\" + ( id != null ? \"?initEvtTiers_=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF085" alt="Instance"/> +</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> <%-- Correspondance --%> <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_=<%= corrID %>&initIntTiersConc_=<%= id %>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Correspondance"/> +</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> <%-- TODO --%> <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 %>&initIntTiersConc_=<%= 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> <% if(!isRestaurant){ %> <fl:access operation="create" name="Dossier_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_dossier_.fl\" + ( id != null ? \"?initDs_HotelID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF11A" alt="Dossier/Mission"/> +</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="Enterprise" operation="edit"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/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> </fl:access> <% } else {%> <%-- Personnes --%> <fl:access name="Person" operation="create"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_person.fl\" + ( id != null ? \"?initPerEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Contact"/> +</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 (isAssociation) { %> <%-- Cotisation --%> <fl:access operation="create" name="Cotisation_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_opportunity.fl\" + ( id != null ? \"?initOpp=DEV&initOppEntID=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF09F" alt="Cotisation"/> +</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> <%} %> <%-- Correspondance --%> <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_=<%= corrID %>&initIntTiersConc_=<%= id %>"> <p class="actions_tabletext"><fl:getMessage code="" alt="Correspondance"/> +</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> <%-- TODO --%> <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 %>&initIntTiersConc_=<%= 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="create" name="Enterprise"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <!-- <a href="<fl:link url=" \"/create_enterprise.fl\" + ( id != null ? \"?initRooEntID=\" + id : \"\") "/>"> --> <p class="actions_tabletext"><fl:getMessage code="L106B" alt="Courrier"/> +</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(isPartenaire) { %> <fl:access operation="create" name="Contrat_"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_contrat_tiers_.fl\" + ( id != null ? \"?initSgTiers=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF015" alt="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 (isAssociation ) {%> <fl:access operation="create" name="Event"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link url="<%= \"/create_event.fl\" + ( id != null ? \"?initEvtTiers_=\" + id : \"\") %>"/>"> <p class="actions_tabletext"><fl:getMessage code="LF085" alt="Instance"/> +</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="Enterprise" operation="edit"> <tr> <td class="actions_cell_left"></td> <td> <div class="actions_tablecell_1"> <a href="<fl:link list="true" url="<%= \"/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> </fl:access> <% } %>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de