<%@page import="com.edeal.frontline.helper.custom.Contrat_Helper"%> <% /***************************************************************************** * Copyright (c) 2000-2013 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="com.edeal.frontline.*" %> <%@ page import="java.util.*" %> <%@ page import="com.edeal.frontline.grid.GridData" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.custom.*" %> <%@ page import="com.edeal.frontline.services.addressnormalisation.*" %> <%@ page import="com.edeal.frontline.helper.ContextHelper" %> <%@page import="com.edeal.frontline.helper.custom.EnterpriseHelper"%> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%-- --%> <% 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 = Enterprise.getID(); } catch (FieldNotInitializedException e) {} String SfwID = ""; SfwID = flRequest.getRequestParameterOrAttribute("SfwID"); String typOrganisation = null; boolean isAssociation = false; boolean isResto = false; boolean isPartenaire = false; boolean isCabaudit = false; boolean isJournaliste = false; boolean isPresta = false; boolean editChapsPresta = true; boolean isResto2 = false; String mensualite=null; String modeReglement=null; mensualite=EnterpriseHelper.getModeReglement(context,id); if(mensualite!=null){ modeReglement =(String)dico.getRefDisp("Mg_","Te1", mensualite); } try { typOrganisation = Enterprise.getEntTyeID(); isAssociation = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ASSO")); isResto = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "RESTO")); if(isResto || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ETAB")))isResto2 = true; isPartenaire = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "PART")); isCabaudit = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "AUDIT")); isJournaliste = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "JOURN")); isPresta = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "PRESTA")); } catch (FieldNotInitializedException e) {} //Vector entStrucLocalIDList = null; Vector mqIds = null; mqIds = new Vector(); String apercuIcoID = null; String ctrPrincipalID = null; if (!isAssociation && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta) { // les marques EnterpriseHelper entHelper = new EnterpriseHelper(Enterprise); mqIds = entHelper.getMarquesIcos(Enterprise); // rappatrier le contrat principal ctrPrincipalID = entHelper.getCtrPrincipal(Enterprise); } String titreEntreprise = ""; titreEntreprise = (String) dico.getRefDisp("EntTyeID", typOrganisation); String cmdStsRefID = dico.getRefIdByCode("OppStoID", "ORD"); String intTodo = dico.getRefIdByCode("IntType_", "ACT"); String intCOR = dico.getRefIdByCode("IntType_", "COR"); String name = null; try { name = Enterprise.getEntCorpName(); } catch (FieldNotInitializedException e) { } String numVoie = null; try{ numVoie = (String)Enterprise.getCustomProperty("EntVoieNum_"); }catch(FieldNotInitializedException e){ } String natVoie = null; try{ natVoie = (String)Enterprise.getCustomProperty("EntNatureVoieID_"); }catch(FieldNotInitializedException e){ } String EntZip = null; try { EntZip = Enterprise.getEntZip(); } catch (FieldNotInitializedException e) { } String entCity = null; try { entCity = Enterprise.getEntCity(); } catch (FieldNotInitializedException e) { } String webAdr = null; try { webAdr = Enterprise.getEntWeb(); if (!webAdr.startsWith("http://") && !webAdr.startsWith("https://")) { webAdr = "http://"+webAdr; } } catch (FieldNotInitializedException fnie) { } Vector vectLoc = null; if (id != null) { String[][] queryLoc = { { "LocEntID = " + Utils.formatToSQL(context, id) } }; try { vectLoc = LocationBean.list(context, queryLoc); } catch (FrontlineException e) { } } boolean isGeoLocalized = true; try { Enterprise.getEntGeoCodeStatusID(); } catch (FieldNotInitializedException e) { isGeoLocalized = false; } String entPhotoID_ = null; /* String po_LienPhotoExt = null; String po_LienPhotoInt = null; */ String po_apercuPhotoID = null; Photo_Bean entPhoto = null; String entPhoto2ID_ = null; Photo_Bean entPhoto2 = null; String po_apercuPhoto2ID = null; String nomPhotoGuide1 = ""; String nomPhotoGuide2 = ""; try { entPhotoID_ = (String)Enterprise.getCustomProperty("EntPhotoID_"); } catch (FieldNotInitializedException e) { } try { entPhoto2ID_ = (String)Enterprise.getCustomProperty("EntPhoto2ID_"); } catch (FieldNotInitializedException e) { } if (entPhotoID_ != null) { try { entPhoto = new Photo_Bean(entPhotoID_,context); nomPhotoGuide1 = entPhoto.getPo_NomPhoto(); } catch (FrontlineException e) { } } if (entPhoto2ID_ != null) { try { entPhoto2 = new Photo_Bean(entPhoto2ID_,context); nomPhotoGuide2 = entPhoto2.getPo_NomPhoto(); } catch (FrontlineException e) { } } if(entPhoto2ID_!= null) { try { po_apercuPhoto2ID = (String)entPhoto2.getPo_Apercu(); } catch (FieldNotInitializedException fne) { } } if(entPhoto != null) { try { po_apercuPhotoID = (String)entPhoto.getPo_Apercu(); } catch (FieldNotInitializedException fne) { } } String cacdrID = dico.getRefIdByCode("TrnTypCA", "CACDR"); String caccID = dico.getRefIdByCode("TrnTypCA", "CACC"); String cafidID = dico.getRefIdByCode("TrnTypCA", "CAFID"); String catotID = dico.getRefIdByCode("TrnTypCA", "CATOT"); Vector urlCrystal = new Vector(); urlCrystal = dico.getRefList("Rep", "Te1"); Vector lienAffiche = new Vector(); lienAffiche = dico.getRefList("Rep", "Te2"); Vector lienType = new Vector(); lienType = dico.getRefList("Rep", "Te3"); Vector lienTypeTarget = new Vector(); lienTypeTarget = dico.getRefList("Rep", "Nu1"); Vector urlRes = new Vector(); urlRes = dico.getRefList("Res", "Te1"); Vector lienAfficheres = new Vector(); lienAfficheres = dico.getRefList("Res", "Te2"); Vector lienTyperes = new Vector(); lienTyperes = dico.getRefList("Res", "Te3"); Vector lienTypeTargetres = new Vector(); lienTypeTargetres = dico.getRefList("Res", "Nu1"); Vector urlCev = new Vector(); urlCev = dico.getRefList("Cev", "Te1"); Vector lienAffichecev = new Vector(); lienAffichecev = dico.getRefList("Cev", "Te2"); Vector lienTypecev = new Vector(); lienTypecev = dico.getRefList("Cev", "Te3"); Vector lienTypeTargetcev = new Vector(); lienTypeTargetcev = dico.getRefList("Cev", "Nu1"); String typoStructID = null; try { typoStructID = (String)Enterprise.getCustomProperty("EntTypoStructure_"); } catch (FieldNotInitializedException e){ typoStructID = ""; } String departID = null; try { departID = dico.getRefIdByCode("EntTypoStructure_", "DEPARTEMENTALE"); } catch (FrontlineException e) { departID = ""; } String departMultiID; try { departMultiID = dico.getRefIdByCode("EntTypoStructure_", "MULTI"); } catch (FrontlineException e) { departMultiID = ""; } String regionID = null; try { regionID = dico.getRefIdByCode("EntTypoStructure_", "REGIONAL"); } catch (FrontlineException e) { regionID = ""; } String paysID = null; try { paysID = dico.getRefIdByCode("EntTypoStructure_", "PAYS"); } catch (FrontlineException e) { paysID = ""; } boolean isEditionCatalogue = false; try { isEditionCatalogue = (Boolean)Enterprise.getCustomProperty("EntEditListLogis_"); } catch (FrontlineException e) { } boolean canGenerateCotDevis = false; try { canGenerateCotDevis = (Boolean)Enterprise.getCustomProperty("EntGenCotDevis_"); } catch (FrontlineException e) { } boolean islgXML = false; try { islgXML = (Boolean)Enterprise.getCustomProperty("EntlgXML_"); } catch (FrontlineException e) { } boolean ispassrelle = false; try { ispassrelle = (Boolean)Enterprise.getCustomProperty("Entpasserelle_"); } catch (FrontlineException e) { } boolean ischaine = false; try { ischaine = (Boolean)Enterprise.getCustomProperty("Entchainehotel_"); } catch (FrontlineException e) { } String annMillesime = "N/A"; // Date du jour : Date dateDuJour = new Date(); int mill = dateDuJour.getYear() + 1900; annMillesime = "" + mill; String queryCcApointe = ""; queryCcApointe = "[[GchStatusID:RefVal = 'IN', GchUseWithAdherent <> '" + id + "'] , [GchStatusID:RefVal = 'IN', GchUseWithAdherent = null]]"; Boolean existeCcPointeAajouterBordereau = false; if(id != null){ String[] fields = {"GchID"}; String[][] query = {{"GchUseWithAdherent = '" + id + "'" , "GchStatusID:RefVal = 'PO'"}}; Vector list = GiftCheque_Bean.listSummary(context, fields, query); if(list != null && !list.isEmpty()) { existeCcPointeAajouterBordereau = true; } } boolean DISPLAY_PLAQUES = false; try { DISPLAY_PLAQUES = typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ETAB")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "HOTEL")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "INSOLIT")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "MAISON")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "AUBERGE")); } catch (FieldNotInitializedException e) {} %> " ou="<%= \"/read_enterprise.fl?id=\" + Enterprise.getID() %>"> <%-- " listTitle="<%= Utils.getMessage(session, \"L30A2\", \"Liste des entreprises\") %>" ou="<%= \"/read_enterprise.fl?id=\" + Enterprise.getID() %>"> --%>
     <% if(mqIds != null) { %> <% for(int i =0; i< mqIds.size(); i++) { apercuIcoID = mqIds.elementAt(i); %> <%if(apercuIcoID != null) { %> test <%} %> <%} %> <%} %> <%-- google news"> --%>
<% if(!isAssociation && !isResto && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta){ %> <% }else if(isResto){ %> <%-- --%> <% } %> <% if( (typOrganisation!= null && (typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "ETAB")) || typOrganisation.equals((String)dico.getRefIdByCode("EntTyeID", "HOTEL")))) ) {}{ %> "/> <%} %> <% if(isPartenaire){ %> <% } %> "/>
<% if(numVoie != null) {%>  <%}%> <% if(natVoie != null) {%>  <%}%>
<% try { Enterprise.getEntZip(); Enterprise.getEntCity(); %>
<% } catch(FieldNotInitializedException e) { try { Enterprise.getEntCity(); %>
<% } catch (FieldNotInitializedException ex) {}} %>
<%--Mantis 31710 --%> <%-- <% if(!isAssociation && !isPartenaire){ %> <% } %> --%>
"><% if (webAdr != null) { %><% } else { %> <% } %>
<% if(!isAssociation && !isPartenaire){%> <% if (!isCabaudit && !isJournaliste && !isPresta){ %> "/> "/> <%} %> <% String entStrucLocalID = null; try { entStrucLocalID = (String)Enterprise.getCustomProperty("EntStructureLocalID_"); } catch (FieldNotInitializedException e) { } if( entStrucLocalID != null ) { EnterpriseBean entAsso = new EnterpriseBean(entStrucLocalID,context); String entCorpName = null; try { entCorpName = (String)entAsso.getEntCorpName(); } catch (FieldNotInitializedException e) { entCorpName =""; } %> <% if(!isCabaudit && !isJournaliste && !isPresta) { %> "/> <% String entTypoStructure_ = null; try { entTypoStructure_ = (String)entAsso.getCustomProperty("EntTypoStructure_"); } catch (FieldNotInitializedException e) { } if(entTypoStructure_ != null){ String depStructID = dico.getRefIdByCode("EntTypoStructure_", "DEPARTEMENTALE"); String depStructMutliID = dico.getRefIdByCode("EntTypoStructure_", "MULTI"); String regStructID = dico.getRefIdByCode("EntTypoStructure_", "REGIONAL"); String payStructID = dico.getRefIdByCode("EntTypoStructure_", "PAYS"); String entTypoStructureDisp = (String)dico.getRefDisp(session, "EntTypoStructure_", entTypoStructure_); %> <% if(entTypoStructure_.equals(depStructID)){ String depName = null; try { String depNameID = (String)entAsso.getCustomProperty("EntDepartmentID_"); depName = (String)dico.getRefDisp(session, "EntDepartmentID_", depNameID); } catch (FieldNotInitializedException e) { depName =""; } catch (FrontlineException e) { depName =""; } %> <%} else if(entTypoStructure_.equals(regStructID)) { String regName = null; try { String regNameID = (String)entAsso.getCustomProperty("EntRegionID_"); regName = (String)dico.getRefDisp(session, "EntRegionID_", regNameID); } catch (FieldNotInitializedException e) { regName =""; } catch (FrontlineException e) { regName =""; }%> <%} else if(entTypoStructure_.equals(payStructID)) { String payName = null; try { String payNameID = (String)entAsso.getEntCtrID(); payName = (String)dico.getRefDisp(session, "EntCtrID", payNameID); } catch (FieldNotInitializedException e) { payName =""; } catch (FrontlineException e) { payName =""; }%> <%} } } } %>
<%=entTypoStructureDisp%>
<%=depName%>
<%=regName%>
<%=payName%>
<% } %>
<% if (isPresta ){%>
<%if(po_apercuPhotoID != null) { %> <%} %>
<%} %> <% if(!isAssociation && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta){%> <%if(isResto2){ %> <%} %> <% if(DISPLAY_PLAQUES){ %> <% } %>
Photo Guide 1 - <%= nomPhotoGuide1 %> Photo Guide 2 - <%= nomPhotoGuide2 %>
<%if(po_apercuPhotoID != null) { %> PhotoGuide1 <%} %> <%if(po_apercuPhoto2ID != null) { %> PhotoGuide2 <%} %>
<%} else if (isAssociation){ %> <% if(typoStructID.equalsIgnoreCase(departID)) {%> <%-- --%> <% } else if (typoStructID.equalsIgnoreCase(regionID)) { %> <% }else if(typoStructID.equalsIgnoreCase(departMultiID)){ %> <%} else if(typoStructID.equalsIgnoreCase(paysID)) {%> <%} %>
disabled="disabled"/>
disabled="disabled"/>
<%} else if (isPartenaire){ %> "/>
<% } %>
" nbPix="32"> <% if(!isAssociation && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta){ %> <%-- Contacts --%> " onselect="refreshPersons();refreshPerAsso();">
 
"/>

 
"/>
<%-- Correspondances --%> " onselect="refreshCorresps();"> " /> <%-- Todos --%> " onselect="refreshInts();"> " /> <%-- Prestations --%> " onselect="refreshPrestats2();refreshEquipement();">
 
<% try { Vector> values = dico.getRefList(session, "Qp_", "Te1"); %> <% } catch (FrontlineException fle) { } %> Ajouter">
 
 
"/>
 
<% try { Vector> values = dico.getRefList(session, "E1_", "Te1"); %> <% } catch (FrontlineException fle) { } %> <% try { Vector> values = dico.getRefList(session, "E2_", "Te1"); %> <% }catch (FrontlineException fle) { } %> Ajouter">
 
 
"/>
" onselect="refreshPrestats();">
 
<%-- --%>
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %> <% try { Vector> values = dico.getRefList(session, "Ctg", "Te1"); %> <% } catch (FrontlineException fle) { } %>
 
 
Ajouter">
 
"/> <%-- " onselect="refreshTxts();"> --%> <%-- --%> <%if(editChapsPresta) {%>
 
 
 
 
Enregistrer">
<%} else { %>
 
 
 
 
<%}%>
 
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %> <% try { Vector> values = dico.getRefList(session, "Tch", "Te1"); %> <% } catch (FrontlineException fle) { } %>
 
');" type="text"> ');" type="text"> Ajouter">
 
 
"/> <%--
 
 
 
"/> --%>
 
 
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %> <%-- <% try { Vector> values = dico.getRefList(session, "Pxt", "Te1"); %> <% } catch (FrontlineException fle) { } %> --%> <% try { Vector> values = dico.getRefList(session, "Pes", "Te1"); %> <% } catch (FrontlineException fle) { } %> Ajouter">
 
');" type="text"> ');" type="text">
 
 
 
Enregistrer">
"/>
<%-- Affiliation --%> " onselect="refreshMissions();">
 
"/>
 
"/>

<%-- Contrats --%> <%-- " onselect="refreshCTR();"> "/> --%> " onselect="refreshCONTRATS();"> "/> <%-- Solicitation --%> " onselect="refreshSols(); refreshSols_OLA();">
 
"/>
 
 
"/>
<% } if(isAssociation){ %> <%-- Contacts --%> " onselect="refreshPersons();">
"/>
<%-- Correspondances --%> " onselect="refreshCorresps();"> " /> <%-- Todos --%> " onselect="refreshInts();"> " /> "> <% if( id != null){ for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<%-- Commandes --%> " onselect="refreshDevs();refreshCmds();refreshFacs();"> <%-- "/> --%>
 
"/>
 
 
"/>
 
 
"/>
<% } else if (isPartenaire) { %> <%-- Contacts --%> " onselect="refreshPersonsPart()">
"/>
<%-- Infos Partenaire --%> ">
"/>
disabled="disabled"/>
disabled="disabled"/>
disabled="disabled"/>
<%-- Correspondances --%> " onselect="refreshCorresps();"> " /> <%-- Todos --%> " onselect="refreshInts();"> " /> <%-- Contrats --%> <%--" onselect="refreshCTR();"> "/> --%> " onselect="refreshCONTRATS();"> "/> "> <% if( id != null){ for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<%-- Commandes --%> " onselect="refreshDevs();refreshCmds();refreshFacs();"> <%-- "/> --%>
 
"/>
 
 
"/>
 
 
"/>
<% } else if (isCabaudit || isJournaliste || isPresta) {%> <%-- Contacts --%> " onselect="refreshPersonsPart()">
"/>
<%-- Infos Partenaire "> --%> <%-- Correspondances --%> " onselect="refreshCorresps();"> " /> <%-- Todos --%> " onselect="refreshInts();"> " /> <%-- Contrats --%> <%--" onselect="refreshCTR();"> "/> --%> " onselect="refreshCONTRATS();"> "/> "> <% if( id != null){ for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<%-- Commandes --%> " onselect="refreshDevs();refreshCmds();refreshFacs();">
<% } if(!isAssociation && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta){ %> "> <% if( id != null){ for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<% try{ String hotelid=(String)Enterprise.getCustomProperty("EntHotelID_"); String loginForCevLink =(new ActorBean((String)session.getAttribute("actorID"),context)).getActLogin(); if( id != null){ %> <% for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<% for(int i=0; i <% if(dblLienTarget == 1) {%> <% } } %>
 
<%=strAffiche%> <% } else {%> <%=strAffiche%> <%} %>
 
<% } }catch(FieldNotInitializedException fnie){ logger.warn("enthotelid_ not initialized exception"); logger.warn(fnie.getMessage()); logger.warn(fnie.getStackTrace()); } %>
<%-- Autres Marques--%> " onselect="refreshOthLabs();refreshOthMrqs();refreshOthGds();">
 
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %>    ');" tabindex="10" size="10" maxlength="10"> ';" onmouseout="window.status = '';"> ');" tabindex="11" size="10" maxlength="10"> ';" onmouseout="window.status = '';">     <% try { Vector> values = dico.getRefList(session, "AM_", "Te1"); %> <% } catch (FrontlineException fle) { } %> Ajouter">
 
"/>
 
 
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %>    ');" tabindex="10" size="10" maxlength="10"> ';" onmouseout="window.status = '';"> ');" tabindex="11" size="10" maxlength="10"> ';" onmouseout="window.status = '';">     <% try { Vector> values = dico.getRefList(session, "Nal", "Te1"); %> <% } catch (FrontlineException fle) { } %> <%-- --%> Ajouter">
 
"/>
 
 
<% try { Vector> values = dico.getRefList(session, "Mil", "Te1"); %> <% } catch (FrontlineException fle) { } %>    ');" tabindex="10" size="10" maxlength="10"> ';" onmouseout="window.status = '';"> ');" tabindex="11" size="10" maxlength="10"> ';" onmouseout="window.status = '';">     <% try { Vector> values = dico.getRefList(session, "Nag", "Te1"); %> <% } catch (FrontlineException fle) { } %> <%-- --%> Ajouter">
 
"/>
<%-- Sites autres réseaux --%> " onselect="RefreshUrlReseau();"> <%-- Textes --%> " onselect="refreshTxts();"> <%-- Chiffres d'affaires --%> " onselect="refreshTurnovers();">
<%= Utils.formatToWeb((String)dico.getRefDisp(session, "TrnTypCA", cacdrID), false) %>
 
"/>
<%= Utils.formatToWeb((String)dico.getRefDisp(session, "TrnTypCA", caccID), false) %>
 
"/>
<%= Utils.formatToWeb((String)dico.getRefDisp(session, "TrnTypCA", cafidID), false) %>
 
"/>
<%= Utils.formatToWeb((String)dico.getRefDisp(session, "TrnTypCA", catotID), false) %>
 
"/>
<%-- Enseignes --%> " onselect="refreshEnseignes();"> "/> <%-- Chèques Cadeaux --%> " onselect="refreshGiftCHQ();">
Pointer les chèques cadeaux">
Ajouter les Chèques au bordereau de réglement">
"/>
" onselect="refreshTiersAssocies();"> "/> <%-- Commandes --%> " onselect="refreshDevs();refreshCmds();refreshFacs();"> <%-- "/> --%>
 
"/>
 
 
"/>
 
 
"/>
<% } %> <% if(!isAssociation && !isPartenaire && !isCabaudit && !isJournaliste && !isPresta){ %> <%-- Infos Société --%> ">
<%if(modeReglement!=null){%><%} %>
<%=modeReglement%>
<%-- Cotisation --%> " onselect="refreshPrdCot();">
<% try { Vector> values = dico.getRefList(session, "Mls", "Te1"); %> <% } catch (FrontlineException fle) { } %> <% try { Vector> values = dico.getRefList(session, "Od_", "Te1"); %> <% } catch (FrontlineException fle) { } %> Ne pas génerer cette ligne de produit Ajouter">
"/>
<%-- Photos --%> " onselect="refreshPhotos();"> "/> <%-- Instances --%> " onselect="refreshInstances();"> "/> <%-- Fichiers --%> "> <%-- Conformité site web--%> " onselect="refreshWebCoformity();"> "/> <%-- Réservations --%> " onselect="refreshResas();refreshResaRestaurants();">
 
"/>
 
 
"/>
<%-- Fidélisation --%> " onselect="refreshFidelity();">
 
"/>
 
"/>
<% } %> <% if(isAssociation){ %> <%-- Infos Société --%> ">
<%-- Instances --%> " onselect="refreshInstancesAsso();"> "/> <%-- Fichiers --%> "> <% } else if (isPartenaire) { %> <%-- Infos Société --%> ">
<%-- Fichiers --%> "> <% } else if (isCabaudit || isJournaliste || isPresta) { %> <%-- Infos Société --%> ">
<%-- Fichiers --%> "> <% } %> <%-- Taux de générosité --%> " onselect="refreshTauxGenerosite();"> " onselect="refreshCarteFID();"> " onselect="refreshFoozitoo()">
<% String lngId = ""; try{ lngId = (new EnterpriseBean(id, context)).getCustomProperty("EntRefLngID_").toString(); }catch(Exception e){ lngId = dico.getRefIdByCode("Lna", "Te1", "fr_FR"); } String lngCode = dico.getRefCode("EntRefLngID_", lngId); %>


" onClick="document.getElementById('light').style.display='none';document.getElementById('fade').style.display='none';sendEntToWeb('<%=id %>','n');" onkeydown="if (event.keyCode == 13) document.getElementById('btnSearch').click()">



<% String idcotdev = null; String idcotass = null; try{ idcotdev = (String)Enterprise.getCustomProperty("EntCotDevID_"); }catch(Exception e){ idcotdev = null; } try{ idcotass = (String)Enterprise.getCustomProperty("EntCotAssoDevID_"); }catch(Exception e){ idcotass = null; } %>

<% if(idcotdev!=null || idcotass!=null){ %> <% if(idcotdev!=null){ %>"/>"><%} %>
<% if(idcotass!=null){ %>"/>"><%} %>


<% }else{ %>


<% } %>
" onClick="document.getElementById('light2').style.display='none';document.getElementById('fade2').style.display='none';" onkeydown="if (event.keyCode == 13) document.getElementById('btnSearch2').click()">