Edit C:\galaxie\Back\galaxie\sales\person\read.jsp
<%@page import="com.itextpdf.text.log.SysoLogger"%> <%@page import="com.edeal.frontline.GeoLocalizable"%> <% /****************************************************************************** * 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.custom.Photo_Bean" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.FlContext" %> <%@ page import="com.edeal.frontline.Utils" %> <%@ page import="com.edeal.frontline.FieldNotInitializedException" %> <%@ page import="com.edeal.frontline.DataDictionary" %> <%@ page import="com.edeal.frontline.EnterpriseBean" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Hashtable" %> <%@ page import="com.edeal.frontline.FrontlineException" %> <%@ page import="com.edeal.frontline.LocationBean" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.PersonEventBean" %> <%@ page import="com.edeal.frontline.FlLocale" %> <%@ page import="com.edeal.frontline.SalesInvestBean" %> <%@ page import="java.text.DateFormat" %> <%@ page import="org.apache.commons.lang.StringUtils" %> <%@ page import="com.edeal.frontline.initializers.PersonReadInitializer" %> <%@ page import="com.edeal.frontline.helper.ContextHelper" %> <%@ taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%@ taglib uri="http://www.e-deal.com/taglib/ft" prefix="ft" %> <jsp:useBean class="com.edeal.frontline.PersonBean" id="Person" 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 = Person.getID(); } catch (FieldNotInitializedException e) { } String PerNvComm_=null; boolean isPerNvComm_=false; try{ PerNvComm_=Person.getCustomProperty("PerNvComm_")+""; }catch (FieldNotInitializedException e) { } if(PerNvComm_.equals("false")){ isPerNvComm_=false; }else{ isPerNvComm_=true; } String PerAffCatAss_=null; boolean isPerAffCatAss_=false; try{ PerAffCatAss_=Person.getCustomProperty("PerAffCatAss_")+""; }catch (FieldNotInitializedException e) { PerAffCatAss_ = "false"; } if(PerAffCatAss_.equals("false")){ isPerAffCatAss_=false; }else{ isPerAffCatAss_=true; } String ctrAssID = null; String PerGrpFct_ = null; boolean isPerGrpFct_=false; ctrAssID = dico.getRefIdByCode("PerGrpFct_", "ASS"); try{ PerGrpFct_=Person.getCustomProperty("PerGrpFct_")+""; }catch (FieldNotInitializedException e) { } if(ctrAssID.equals(PerGrpFct_)) isPerGrpFct_=true; else isPerGrpFct_=false; String Ad1 = null; try { Ad1 = Person.getPerAd1(); } catch(FieldNotInitializedException e) { } String oppType = null; try{ oppType = dico.getRefIdByCode("OppStoID", "ORD"); }catch(FrontlineException e){ oppType = ""; } String Ad2 = null; try { Ad2 = Person.getPerAd2(); } catch(FieldNotInitializedException e) { } String Ad3 = null; try { Ad3 = Person.getPerAd3(); } catch(FieldNotInitializedException e) { } String PerZip = null; try { PerZip = Person.getPerZip(); } catch(FieldNotInitializedException e) { } String PerCity = null; try { PerCity = Person.getPerCity(); } catch(FieldNotInitializedException e) { } boolean defaut = false; try { defaut = Person.isPerPersonalAddressDefault(); } catch (FieldNotInitializedException e) { } // *********** photo *********** String perPhotoID_ = null; String po_apercuPhotoID = null; Photo_Bean perPhoto = null; try { perPhotoID_ = (String)Person.getCustomProperty("PerPhoto_"); } catch (FieldNotInitializedException e) { } if (perPhotoID_ != null) { try { perPhoto = new Photo_Bean(perPhotoID_,context); } catch (FrontlineException e) { } } if(perPhoto != null) { try { po_apercuPhotoID = (String)perPhoto.getPo_Apercu(); } catch (FieldNotInitializedException fne) { } } //paramètres de config String salesModel = context.getContextParameter("SalesModel"); String personAddress = context.getContextParameter("PersonAddress"); String personScoring = context.getContextParameter("PersonScoring"); StringBuffer fullName = new StringBuffer(); if (id != null) { String val; try { val = Person.getPerCivID(); fullName.append(dico.getRefDisp(session, "PerCivID", val) + " "); } catch (FieldNotInitializedException e) { } try { val = Person.getPerName(); fullName.append(val + " "); } catch (FieldNotInitializedException e) { } try { val = Person.getPerFstName(); fullName.append(val + " "); } catch (FieldNotInitializedException e) { } } String fullNameFormatted = Utils.formatToJavascript(fullName.toString()).trim(); boolean hasEnterprise = false; if (!"B2C".equalsIgnoreCase(salesModel)) { try { EnterpriseBean enterprise = Person.getPerEnterprise(); hasEnterprise = true; pageContext.setAttribute("Enterprise", enterprise); } catch (FieldNotInitializedException e) { } } boolean hasPersonalAddress = (Ad1 != null)||(Ad2 != null)||(Ad3 != null); String defaultString = "<br>(" + Utils.getMessage(session, "L207A", "Par défaut") + ")"; boolean haveBothAddys = hasEnterprise && hasPersonalAddress; if (!hasEnterprise && !hasPersonalAddress) { if ("NO".equalsIgnoreCase(personAddress)) hasEnterprise = true; else hasPersonalAddress = true; } Vector vectPeh = (Vector) request.getAttribute("vectPeh"); if (vectPeh == null) { vectPeh = new Vector(); } String entLink = null; if (hasEnterprise) { EnterpriseBean ent = Person.getPerEnterprise(); StringBuffer buf = new StringBuffer(); buf.append(" - "); buf.append("<a href=\""); buf.append(flRequest.computeURL("/read_enterprise.fl?id=" + ent.getID())); buf.append("\">" + ent.getEntCorpName() + "</a>"); entLink = buf.toString(); } String SfwID = flRequest.getRequestParameterOrAttribute("SfwID"); if (SfwID == null) { SfwID = ""; } String perMailStatusStr = (String)request.getAttribute(PersonReadInitializer.PER_MAIL_STATUS_STR); String perFaxStatusStr = (String)request.getAttribute(PersonReadInitializer.PER_FAX_STATUS_STR); String perFstName = null; try { perFstName = Person.getPerFstName(); } catch (FieldNotInitializedException e) { } String perName = null; try { perName = Person.getPerName(); } catch (FieldNotInitializedException e) { } String nameKey = ""; nameKey = perFstName != null ? perFstName + "+" + perName : perName; Vector<?> nameVect = null, urlVect = null, iconVect = null, accountVect = null; try { nameVect = dico.getRefList("Mrp", "Te1"); urlVect = dico.getRefList("Mrp", "Te2"); iconVect = dico.getRefList("Mrp", "Te3"); accountVect = dico.getRefList("Mrp", "Nu1"); } catch (FrontlineException fe){ } String perFctParentID = null; if (ContextHelper.hasMultifunction(context)) { try { perFctParentID = Person.getPerFctParentID(); } catch (FieldNotInitializedException e){ } } //Geolocalize enterprise address boolean isEnterpriseGeoLocalized = false; EnterpriseBean geoLocalizableEnterprise = null; if (hasEnterprise) { geoLocalizableEnterprise = Person.getPerEnterprise(); try { geoLocalizableEnterprise.getEntGeoCodeStatusID(); isEnterpriseGeoLocalized = true; } catch (FieldNotInitializedException e) { } } //Geolocalize person address boolean isPersonGeoLocalized = true; try { Person.getPerGeoCodeStatusID(); } catch (FieldNotInitializedException e) { isPersonGeoLocalized = false; } //Geolocalize location address boolean isLocationGeoLocalized = false; LocationBean geoLocalizableLocation = null; String perLocID = null; try { perLocID = Person.getPerLocID(); try { geoLocalizableLocation = new LocationBean(perLocID, context); geoLocalizableLocation.getLocGeoCodeStatusID(); isEnterpriseGeoLocalized = true; } catch (FieldNotInitializedException e) { } catch (Exception e) { logger.error("Exception when getting location ", e); } } catch (FieldNotInitializedException e) { } String perTitle = null; try { perTitle = Person.getPerTitle(); } catch (FieldNotInitializedException e) { } String perFctID = null; try { perFctID = Person.getPerFctID(); } catch (FieldNotInitializedException e) { } // l'id de la fonction "guest" String guestFctID; try { guestFctID = dico.getRefIdByCode("PerFctID", "GST"); } catch (FieldNotInitializedException e) { guestFctID = ""; } %> <!-- JQuery-ui is now included by master.jsp --> <!-- <script type="text/javascript" src="<fl:webapp/>/js/jquery-ui-1.8.14.custom.min.js"></script> --> <script type="text/javascript" language="javascript"> // function doSearchPerson(url, name) { // popupCenter(url, name, '930', '600', 'menubar=no, status=no, toolbar=no, scrollbars=yes, resizable=yes'); // } function nbLinkCallBack(index) { if (eDealXmlhttpArr[index].readyState == 4) { var nbLink =eval(eDealXmlhttpArr[index].responseText); if (nbLink==0) { // no links => hide the div $("#linkscounter").hide(); } else { // let's display the div $("#linkscounter").show(); $("#linksnumber").html(nbLink); } hideWaiting(); } } function loadNbLink() { var ajaxURL = '<fl:webapp/>/per_links_count.fl?id=<%= id %>'; doAjax(ajaxURL, nbLinkCallBack); } runOnTime("loadNbLink();", 0); <% if (ContextHelper.hasMultifunction(context)) { %> $(document).ready(loadFunctionsBar); function loadFunctionsBar() { var url = "get_function_bar.fl"; var data = {id: '<%= id %>'}; $.ajax({ url: url , data: data, dataType:"html", //timeout: 5000, success: function(data, textStatus, jqXHR) { $("#function_bar").width(($("#function_bar").width() - 10) + "px"); $("#function_bar").html(data); //sortListInstall(); setTimeout(sortListInstall, 500); }, error: function(jqXHR, textStatus, errorThrown) { console.log("error :"); console.log("jqXHR :"); console.log(jqXHR); console.log("textStatus :"); console.log(textStatus); console.log("errorThrown :"); console.log(errorThrown); } }); } var JSperFctParentID = '<%= perFctParentID %>'; var NewJSperFctParentID = '<%= perFctParentID %>'; function sortListInstall() { //if ($("#sortlist").height() > 15) { $("#sortlist").sortable({ opacity: 0.6, revert: true, scrollSpeed: 40, tolerance: 'pointer', update: function(event, ui) { // var data = $(this).sortable("serialize"); var sortID = $("#sortlist li"); var itemID = new Array(); $("#sortlist li").each(function(i){ itemID.push($(this).attr('id')); }); NewJSperFctParentID = itemID[0]; var jsondata = JSON.stringify(itemID); //alert(jsondata); $.ajax ({ url : "<fl:webapp/>/set_functions_positions.fl?parentID="+JSperFctParentID, type : "POST", data : jsondata, timeout: 200000, contentType: "application/json;charset=utf-8", dataType: 'json', success: analyseResult, error:function (xhr, ajaxOptions, thrownError){ NewJSperFctParentID = JSperFctParentID; alert(xhr.status); alert(thrownError); } }); function analyseResult(data) { if (data != null) { if (data.ERROR != "") { NewJSperFctParentID = JSperFctParentID; alert('Erreur lors du déplacement \n' + decodeURIComponent(data.ERROR)); } else if (data.REFRESH == "OK") { JSperFctParentID = NewJSperFctParentID; loadFunctionBar(); } } } } }); //} else { // $("#sortlist").css("display", "none"); //} } <%}%> function openLink() { //swapSmallTabs('EntRead', 'in', EntRead_divIds.indexOf('LNKS')); //selectSmallTab('EntRead',EntRead_divIds.indexOf('LNKS')); swapSmallTabs('EntRead', 'in', 6); selectSmallTab('EntRead', 6); } function list_log_web() { window.open('<fl:webapp/>/list_log_web.fl?id=<%= id %>', 'LogList', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=700,height=350'); } // function doMail() { // window.open('<fl:webapp/>/mail_messages.fl?ObjSql=Person&destID=<fl:getProperty name="Person" property="PerID" alt=""/>&email=' + encodeURIComponent('<fl:getProperty name="Person" property="PerMail" alt=""/>'), 'EMAIL', 'menubar=no,status=no,toolbar=no,scrollbars=yes,resizable=yes,width=700,height=270'); // } function refreshCorrs() { _grid__CORR2LIST_js_.render(); } function refreshQuals() { _grid__APPETENCES_js_.render(); } function refreshReservs() { _grid__RESVCONT_js_.render(); } function refreshChqs() { _grid__CQF_CON_js_.render(); } function refreshCmdccs() { _grid__CMDCCS_js_.render(); } function refreshCards() { _grid__CFD_CON_js_.render(); } function refreshTrans() { _grid__TRN_CON_js_.render(); } function refreshContrs() { _grid__CTR_CON2_js_.render(); } function refreshSols() { _grid__SOL_CON_js_.render(); } /* function refreshOpps() { _grid__CMDCONTACT_js_.render(); } */ //------- Fonction refresh ajoutées ------------------ function refreshDevs() { _grid__DEV_EMB_js_.render(); } function refreshCmds() { _grid__CMD_EMB_js_.render(); } function refreshFacs() { _grid__FAC_EMB_js_.render(); } //------------------------- function refreshFcts() { _grid__FUNCLIST_js_.render(); } function refreshEvents() { _grid__EVTPER_js_.render(); } function doRefreshEvents() { window.setTimeout(refreshEvents, 10); } function refreshLnks() { _grid__PerLin_js_.render("PerFullName",encodeURIComponent('<%= fullNameFormatted %>')); } function refreshNetworks() { //links refreshLnks(); //Functions refreshFun(); } function refreshFun() { <% if (ContextHelper.hasMultifunction(context)) { %> <% if ("B2C".equalsIgnoreCase(salesModel)) { %> _grid__FUN_EMBB2C_js_.render("PerFctParentID",NewJSperFctParentID ); <% } else { %> _grid__FUN_EMB_js_.render("PerFctParentID",NewJSperFctParentID ); <% } %> <% } %> } function doLink() { if (navigator.appName == 'Microsoft Internet Explorer') { window.open('<fl:webapp/>/open_link_person.fl?perID=<%= id %>', 'LinkPer', 'menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes, width=800, height=230'); } else { window.open('<fl:webapp/>/open_link_person.fl?perID=<%= id %>', 'LinkPer', 'menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes, width=800, height=200'); } } function doLinkID(linID) { if (navigator.appName == 'Microsoft Internet Explorer') { window.open('<fl:webapp/>/open_link_person.fl?perID=<%= id %>&id=' + linID, 'LinkPer', 'menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes, width=800, height=230'); } else { window.open('<fl:webapp/>/open_link_person.fl?perID=<%= id %>&id=' + linID, 'LinkPer', 'menubar=no, status=no, toolbar=no, scrollbars=no, resizable=yes, width=800, height=200'); } } function delLink(linID) { if (confirm('<fl:getMessage code="M2004" alt="Etes-vous sûr de vouloir supprimer?" js="true"/>')) { doAjax('<fl:webapp/>/delete_object_ajax.fl?type=Link&id=' + linID, lnkDoReturn); } } function lnkDoReturn(arrIndex) { if (arrIndex && eDealXmlhttpArr[arrIndex].readyState != 4) { // we are in an ajax context if arrIndex is not null return; } window.setTimeout(refreshLnks, 10); window.setTimeout(loadNbLink, 20); } function doInscription() { window.open('<fl:webapp/>/edit_personevent.fl?initPerID=<%= id == null ? "" : id %>' , 'Inscription', 'width=800,height=300,menubar=no,status=no,toolbar=no,scrollbars=auto,resizable=no'); } function editMarkedEvent(PvtID, eventTypeCode) { if (eventTypeCode == "TMK") { window.location = "<fl:webapp/>/read_petarget.fl?id="+PvtID; } else { window.open('<fl:webapp/>/edit_personevent.fl?id=' + PvtID + '&initPerID=<%= id == null ? "" : id %>' , 'Inscription', 'width=765,height=250,menubar=no,status=no,toolbar=no,scrollbars=auto,resizable=no'); } } function deleteMarkedEvent(PvtID) { if (confirm('<fl:getMessage code="M6102" alt="Etes-vous sûr de vouloir supprimer ce marquage ?" js="true"/>')) { doAjax('<fl:webapp/>/delete_object_ajax.fl?type=PersonEvent&id=' + PvtID , delPvtCallback); } } function delPvtCallback(arrIndex){ if (eDealXmlhttpArr[arrIndex].readyState == 4) { hideWaiting(); eval(eDealXmlhttpArr[arrIndex].responseText); setTimeout('refreshEvents()', 10); } } function viewResponse(id){ window.open('<fl:webapp/>/read_formresponse.fl?id='+id, 'ViewFormResponse' , 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=810,height=500'); } function editResponse(id){ window.open('<fl:webapp/>/edit_formresponse.fl?id='+id, 'EditFormResponse' , 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=810,height=500'); } function previewScriptResponse(id,hasNotes,perID){ window.open('<fl:webapp/>/read_scriptresponse.fl?scriptID='+id+'&preview=0&lsePosition=0&hasNotes='+hasNotes+'&perID='+perID, 'PreviewFormResponse' , 'menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes,width=800,height=500'); } function doOnLoad() { refreshFcts(); } function doLoadPerson(perID) { window.location.href = '<fl:link list="true" menu="true" url="read_person.fl"/>&id=' + perID; } <%if (po_apercuPhotoID != null) {%> var fois = 0; var apercu; function afficheImage() { var apercuWidth = (apercu.width < 400 ? 400 : apercu.width + 50); var apercuHeight = ((apercu.height + 100) < 400 ? 400 : (apercu.height + 100)); var ouvrirImage = window.open('<fl:webapp/>/sales/photo_/showApercu.jsp?id=<%=po_apercuPhotoID%>','photoWindow','toolbar=0,location=0,menuBar=0,scrollbars=0,resizable=1,width=' + apercuWidth + ',height=' + apercuHeight); fois=1; } <%}%> </script> <fl:bigTabs listTitle="<%= Utils.getMessage(session, \"L63C2\", \"Liste des personnes\") %>" objectTitle="<%= Utils.getMessage(session, \"F002E\", false, true, \"Personne\") %>" ou="/read_person.fl"> <table class="container" cellpadding="0" cellspacing="0"> <tr class="fieldline"> <td colspan="5"> <table class="container" cellpadding="0" cellspacing="0" width="100%"> <tr class="fieldline"> <td class="titreFiche" width="50%"> <%= fullName.toString() %> <span> <%@include file="/sales/person/socialNetWorkLinkList.jsp" %> </span> <span id="linkscounter" style="display:none;"> <img src="<fl:webapp/>/icons/user.png" class="icon" name="icon" border="0" width="17" height="17" style="vertical-align:baseline;" title="<fl:getMessage code="L6182" alt="Liens"/>"> <a href="javascript:openLink();"> <sup style="font-size: 11px;"> <span id="linksnumber">#</span> </sup> </a> </span> </td> <%-- <% if (ContextHelper.hasMultifunction(context)) { %> <td rowspan="2"> <div class="sc_menu" id="function_bar"></div> </td> <% } %> --%> </tr> <tr> <td width="50%"> <% if (ContextHelper.hasMultifunction(context)) { if (perTitle != null) { %> <fl:getProperty property="PerTitle" alt=" " name="Person" preText="" postText="<%= \"\" + \" \" + Utils.getMessage(session, \"L813D\", \"chez\") %>"/> <% } else if (perFctID != null) { %> <fl:getProperty property="PerFctID" alt=" " name="Person" preText="" postText="<%= \"\" + \" \" + Utils.getMessage(session, \"L813D\", \"chez\") %>"/> <% } } else { if (perTitle != null) { %> <fl:getProperty property="PerTitle" alt=" " name="Person" preText="" postText="<%= \"\" + \" \" %>"/> <% } else if (perFctID != null) { %> <fl:getProperty property="PerFctID" alt=" " name="Person" preText="" postText="<%= \"\" + \" \" %>"/> <% } } %> <fl:getProperty property="PerEntID" alt=" " name="Person" bean="true" href="true" disp="/read_enterprise.fl"/> <fl:getProperty property="PerFctEntryDt" alt=" " name="Person" preTextCode="L8146"/><%-- depuis le --%> <fl:getProperty property="PerFctExitDt" alt=" " name="Person" preTextCode="L65C8"/><%-- jusqu'au --%> </td> </tr> </table> </td> </tr> <tr class="ligne_separation"> <td colspan="5"></td> </tr> <tr> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="PerDateNaiss_"/> <fl:fieldRead property="PerOptIN_" valueCodeIfTrue="L2005" valueCodeIfFalse="L2006"/> <fl:fieldRead property="PerCatSocial_" alt=""/> <tr><td colspan="5" class="ligne_separation"/></tr> <td class="titreInterneSmalltabs" colspan="5"> <fl:getMessage code="LF002" alt="Adresse Postale"/> </td> <tr><td colspan="5" class="ligne_separation"/></tr> <tr class="fieldline"> <td id="PerVoie_label" class="dataLabel"><fl:label code="FF02E" label="Voie"/></td> <td id="PerVoie_value" class="dataValue"><fl:getProperty name="Person" property="PerNumVoie_" alt=""/> <fl:getProperty name="Person" property="PerNatVoie_" alt=""/> <fl:getProperty name="Person" property="PerLibVoie_" alt=""/></td> </tr> <fl:fieldRead property="PerBtq_"/> <fl:fieldRead property="PerCplGeo_"/> <fl:fieldRead property="PerAd1"/> <fl:fieldRead property="PerPremcou_"/> <fl:fieldRead property="PerBP_"/> <fl:fieldRead property="PerLieuDit_"/> <td class="dataLabel"><fl:getMessage code="FF096" alt="Code Postal/Ville"/></td> <td id="Per.Zip_value" class="dataValue"> <div title=""> <fl:getProperty name="Person" property="PerZip" alt="" postText=" "/><fl:getProperty name="Person" property="PerCity" alt="" postText=""/><% try { Person.getPerZip(); Person.getPerCity(); %><br><% } catch(FieldNotInitializedException e) { try { Person.getPerCity(); %><br><% } catch (FieldNotInitializedException ex) {}} %> </div> </td> <tr><td colspan="5" class="ligne_separation"/></tr> <fl:fieldRead property="PerCtrID" /> </table> </td> <td class="separation"><div class="separation"></div></td> <td class="column2"> <table class="data_column" cellpadding="0"> <fl:fieldRead property="PerLngRef_"/> <fl:fieldRead property="PerLngSec_"/> <tr class="fieldline"> <td id="PerPhoto_" class="dataLabel"><fl:label code="FF001" label="Photo"/></td> <td id="PerPhoto_" class="dataValue"> <%if(po_apercuPhotoID != null) { %> <img alt="" src='<fl:webapp/>/download?id=<%=po_apercuPhotoID%>' onclick="" height="150" width="150"> <%} %> </td> </tr> <fl:fieldRead property="PerCollege_" /> <tr><td colspan="5" class="ligne_separation"/></tr> <fl:fieldRead property="PerPhone" /> <fl:fieldRead property="PerMobile"/> <fl:fieldRead property="PerFax"/> <tr><td colspan="5" class="ligne_separation"/></tr> <fl:fieldRead property="PerMail"/> <fl:fieldRead property="PerMailSec_" /> <%if(isPerGrpFct_== true){ %> <%-- A afficher seulement si le groupe de fonctions est "ASSOCIATION" --%> <fl:fieldRead property="PerGrpFct_" alt="" /> <tr class="ligne_separation"><td></td></tr> <tr> <td class="titreInterneSmalltabs" colspan="5"> <fl:getMessage code="LF04D" alt="Liste structure Logis"/> </td> </tr> <tr class="ligne_separation"><td></td></tr> <fl:fieldRead property="PerStatutAnim_" alt=""/> <fl:fieldRead property="PerAffectedTaux_"/> <% if(isPerAffCatAss_== true) { %> <tr class="fieldline"> <td id="PerAffCatAss__label" class="dataLabel"><fl:getMessage code="FF0B8" alt="Affichage dans le catalogue Association"/></td> <td id="Apercu_value" class="dataValue"><input type="checkbox" disabled="disabled" checked="checked"/></td> </tr> <%} else { %> <tr class="fieldline"> <td id=PerAffCatAss__label class="dataLabel"><fl:getMessage code="FF0B8" alt="Affichage dans le catalogue Association"/></td> <td id="Apercu_value" class="dataValue"><input type="checkbox" disabled="disabled"/></td> </tr> <%} %> <fl:fieldRead property="PerColCatAss_" alt=""/> <fl:fieldRead property="PerOrdAff_"/> <fl:fieldRead property="PerAssRem_"/> <tr class="ligne_separation"><td></td></tr> <td class="titreInterneSmalltabs" colspan="5"> <fl:getMessage code="LF33F" alt="Dates Mandat"/> </td> <tr class="ligne_separation"><td></td></tr> <fl:fieldRead property="PerDteCandidature_"/> <fl:fieldRead property="PerDteElection_"/> <fl:fieldRead property="PerDteDemission_"/> <fl:fieldRead property="PerDteRevocation_"/> <tr class="ligne_separation"><td></td></tr> <%}else{ %> <fl:fieldRead property="PerGrpFct_" alt="" /> <%} %> <% if(isPerNvComm_== true) { %> <tr class="fieldline"> <td id="PerNvComm__label" class="dataLabel"><fl:getMessage code="FF0B7" alt="Non Visible Communication ou GUIDE"/></td> <td id="Apercu_value" class="dataValue"><input type="checkbox" disabled="disabled" checked="checked"/></td> </tr> <%} else { %> <tr class="fieldline"> <td id=PerNvComm__label class="dataLabel"><fl:getMessage code="FF0B7" alt="Non Visible Communication ou GUIDE"/></td> <td id="Apercu_value" class="dataValue"><input type="checkbox" disabled="disabled"/></td> </tr> <%} %> </table> </td> </tr> </table> <fl:notes name="PerRemarks" title="<%= Utils.getMessage(session, \"L64B4\", \"Commentaires\") %>" nbPix="32"><fl:getProperty name="Person" property="PerRemarks" alt=" " edit="false" /></fl:notes> <link href="<fl:webapp/>/css/smalltabs_css.jsp" rel="stylesheet" type="text/css"> <fl:smallTabs name="EntRead"> <fl:sTab id="FCTS" title="<%= Utils.getMessage(session, \"L658A\", false, true, \"Fonctions\") %>" onselect="refreshFcts();"> <fl:grid name="FUNCLIST" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=FUNCLIST&PerFctParentID=\" + perFctParentID %>" /> </fl:sTab> <fl:sTab id="CORRESS" title="<%= Utils.getMessage(session, \"LF031\", false, true, \"Correspondances\") %>" onselect="refreshCorrs();"> <fl:grid name="CORR2LIST" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CORR2LIST&PerID=\" + id %>"> </fl:grid> <%-- <div class="infobar_table_text" style=""> <edLink id="emailReactionLink" values="<fl:getMessage code="L8218" alt="Voir les réactions aux e-mailing" js="true"/>" target="DIALOG" url='emailing_reactions.fl' options='{"id":"emailReactionLinkDialog", "title":"<fl:getMessage code="L8218" alt="Voir les réactions aux e-mailing" js="true"/>", "parameters":{"id": "<%= id %>"}, "width":"600", "height":"300", "resizable": false, "draggable": true, "modal": false }' ></edLink> / <edLink id="webSiteVisitLink" values="<fl:getMessage code="L6082" alt="Log web"/>" target="DIALOG" url='list_log_web.fl' options='{"id":"webSiteVisitLinkDialog", "title":"<fl:getMessage code="L6082" alt="Log web"/>", "parameters":{"id": "<%= id %>"}, "width":"600", "height":"300", "resizable": false, "draggable": true, "modal": false }' ></edLink> </div> --%> </fl:sTab> <%if( !guestFctID.equalsIgnoreCase(perFctID)) { %> <fl:sTab id="CTRS" title="<%= Utils.getMessage(session, \"LF032\", false, true, \"Contrats\")%>" onselect="refreshContrs();"> <%-- <fl:grid name="CTR_CON" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CTR_CON&PerID=\" + id %>"/> --%> <fl:grid name="CTR_CON2" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CTR_CON2&PerID=\" + id %>"/> </fl:sTab> <%} %> <%-- <fl:sTab id="OPPS" title="<%= Utils.getMessage(session, \"LF030\", false, true, \"Commandes\") %>" onselect="refreshOpps();"> <fl:grid name="CMDCONTACT" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CMDCONTACT&OppPerID=\" + id + \" &OppStoID=\" + oppType %>"/> </fl:sTab> --%> <!-- __________________________________ Ajouter (Devis, Commande, Facture)_________________________________________________ --> <fl:sTab id="OPPS1" title="<%= Utils.getMessage(session, \"LF030\", false, true, \"Commandes\") %>" onselect="refreshDevs();refreshCmds();refreshFacs();"> <%-- <fl:grid name="CMD_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CMD_EMB&OppEntID=\" + id + \"&OppStoID=\" + cmdStsRefID %>"/> --%> <table class="container" cellpadding="0"> <tr> <td class="column2"> <table class="container" cellpadding="0"> <tr><td colspan="3" class="titreInterneSmalltabs"><fl:getMessage code="L653F" alt="Devis"/></td></tr> <tr><td colspan="3" class="dataLabel"> </td></tr> </table> <fl:grid name="DEV_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=DEV_EMB&OppPerID=\" + id %>"/> </tr> <tr><td colspan="3" class="ligne_separation_couleur"/></tr> <tr><td colspan="3" class="dataLabel"> </td></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <tr><td colspan="3" class="titreInterneSmalltabs"><fl:getMessage code="LF035" alt="Commandes"/></td></tr> <tr><td colspan="3" class="dataLabel"> </td></tr> </table> <fl:grid name="CMD_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CMD_EMB&OppPerID=\" + id %>"/> <%-- <fl:grid name="CMDCONTACT" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CMDCONTACT&OppPerID=\" + id + \" &OppStoID=\" + oppType %>"/> --%> </tr> <tr><td colspan="3" class="ligne_separation_couleur"/></tr> <tr><td colspan="3" class="dataLabel"> </td></tr> <tr> <td class="column2"> <table class="container" cellpadding="0"> <tr><td colspan="3" class="titreInterneSmalltabs"><fl:getMessage code="F60D4" alt="Factures"/></td></tr> <tr><td colspan="3" class="dataLabel"> </td></tr> </table> <fl:grid name="FAC_EMB" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=FAC_EMB&OppPerID=\" + id %>"/> </tr> </table> </fl:sTab> <!-- __________________________________ /Ajouter (Devis, Commande, Facture)_________________________________________________ --> <%if( guestFctID.equalsIgnoreCase(perFctID)) { %> <fl:sTab id="COMMANDESCC" title="<%= Utils.getMessage(session, \"LF14B\", false, true, \"Commandes CCs\") %>" onselect="refreshCmdccs();"> <fl:grid name="CMDCCS" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CMDCCS&PerID=\" + id %>"> </fl:grid> </fl:sTab> <% } %> <fl:sTab id="RESVS" title="<%=Utils.getMessage(session, \"LF02C\", false, true, \"Réservations\")%>" onselect="refreshReservs();"> <fl:grid name="RESVCONT" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=RESVCONT&Rs_Contact=\" + id %>" /> </fl:sTab> <fl:sTab id="FIDS" title="<%=Utils.getMessage(session, \"LF033\", false, true, \"Fidélisations\")%>" onselect="refreshChqs();refreshTrans();"> <table> <tr> <td class="titreInterneSmalltabs" colspan="5"> <fl:getMessage code="LF07F" alt="Chèques de Fidélité"/> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <fl:grid name="CQF_CON" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=CQF_CON&Cf_Guest=\" + id %>"/> <table> <tr class="ligne_separation"><td></td></tr> <tr> <td class="titreInterneSmalltabs" colspan="5"> <fl:getMessage code="LF080" alt="Transactions de fidélité"/> </td> </tr> <tr class="ligne_separation"><td></td></tr> </table> <fl:grid name="TRN_CON" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=TRN_CON&Tf_Guest=\" + id %>"/> </fl:sTab> <fl:sTab id="SOLS" title="<%= Utils.getMessage(session, \"L652F\", false, true, \"Sollicitations\") %>" onselect="refreshSols();"> <fl:grid name="SOL_CON" ajaxUrl="<%= \"/embedded_list_ajax.fl?code=SOL_CON&SolSolliciteurs_=\" + id %>"/> </fl:sTab> </fl:smallTabs> <!-- </td></tr></table> --> </fl:bigTabs>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de