<%if(statutID.equalsIgnoreCase(besoinStateID)) {%>
|
<%= enjPond %> € |
<%}
if(statutID.equalsIgnoreCase(devisStateID) || statutID.equalsIgnoreCase(commandeStateID)) {
if(statutID.equalsIgnoreCase(devisStateID)) {%>
<%} else {%>
<%} %>
|
|
|
" alt=" "/>
<%if(statutID.equalsIgnoreCase(devisStateID)) {%>
" alt=" "/>
<%} else {%>
" alt=" "/>
<%} %>
<% if(oppEntID != null){
EnterpriseBean entClient = new EnterpriseBean(oppEntID, context);
String phone = "";
try {
phone = entClient.getEntPhone();;
} catch (FieldNotInitializedException e) {}
String mail = "";
try {
mail = (String)entClient.getCustomProperty("EntMail_");
} catch (FieldNotInitializedException e) {}
%>
|
|
|
<%= mail %> |
<% }
if(statutID.equalsIgnoreCase(devisStateID)) {%>
" alt=" "/>
<%} else {%>
" alt=" "/>
<%} %>
<%
String oppPerID = null;
try{
oppPerID = Opportunity.getOppPerID();
}catch(FieldNotInitializedException fe){
}
if(oppPerID != null){
PersonBean perClient = new PersonBean(oppPerID, context);
String phone = "";
try {
phone = perClient.getPerPhone();;
} catch (FieldNotInitializedException e) {}
String mail = "";
try {
mail = (String)perClient.getPerMail();
} catch (FieldNotInitializedException e) {}
%>
|
|
|
<%= mail %> |
<% } %>
|
|
|
" alt=" "/>
<%} else if(statutID.equalsIgnoreCase(factureStateID) || statutID.equalsIgnoreCase(avoirStateID)) { %>
<%-- "/> --%>
<% String OppReferFact_ID=null;
String OppReferFact_NumFact=null;
try{
OppReferFact_ID=(String)Opportunity.getCustomProperty("OppReferFact_");
}catch(Exception e){
OppReferFact_ID=null;
}
if(OppReferFact_ID!=null){
OpportunityBean oppRefFact = new OpportunityBean(OppReferFact_ID,context);
try{
OppReferFact_NumFact=(String)oppRefFact.getCustomProperty("OppNumFact_");
}catch(Exception e){
OppReferFact_NumFact="";
}
}
%>
|
<%if(statutID.equalsIgnoreCase(avoirStateID)) {%>
<%=OppReferFact_NumFact%>
|
<%} %>
"/>
|
|
|
" alt=" "/>
" alt=" "/>
" alt=" "/>
<%
// on récupère les champs concernant l'adresse du client (Tiers)
if (oppEntID != null) {
EnterpriseBean entClient = new EnterpriseBean(oppEntID, context);
try {
Enterprise.setEntID(entClient.getEntID());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntCorpName(entClient.getEntCorpName());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntCode(entClient.getEntCode());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntCtrID(entClient.getEntCtrID());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntCity(entClient.getEntCity());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntZip(entClient.getEntZip());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntPhone(entClient.getEntPhone());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntFax(entClient.getEntFax());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntWeb(entClient.getEntWeb());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setEntSiret(entClient.getEntSiret());
} catch (FieldNotInitializedException e) {
}
try {
Enterprise.setCustomProperty("EntBP_", (String)entClient.getCustomProperty("EntBP_"));
} catch (FieldNotInitializedException e) {
Enterprise.setCustomProperty("EntBP_","");
}
String voieNum = "";
try {
voieNum = (String)entClient.getCustomProperty("EntVoieNum_");
} catch (FrontlineException e) {
}
String entNatureVoieID_ = null;
try {
entNatureVoieID_ = (String)entClient.getCustomProperty("EntNatureVoieID_");
entNatureVoieID_ = (String)dico.getRefDisp(FlLocale.getInstance(session), "Ev_", "Te1", entNatureVoieID_);
} catch (FrontlineException e) {
entNatureVoieID_ = "";
}
String entLblVoie_ = "";
try {
entLblVoie_ = (String)entClient.getCustomProperty("EntLblVoie_");
} catch (FrontlineException e) {
entLblVoie_ = "";
}
String entBP = "";
try {
entBP = (String)entClient.getCustomProperty("EntBP_");
} catch (FrontlineException e) {
entBP = "";
}
String entIntraCom = "";
try {
entIntraCom = (String)entClient.getCustomProperty("EntTVAIntracom_");
} catch (FrontlineException e) {
entIntraCom = "";
}
String cplAdr = "";
try {
cplAdr = (String)entClient.getCustomProperty("EntGeoCplt_");
} catch (FrontlineException e) {
cplAdr = "";
}
String remCour = "";
try {
remCour = (String)entClient.getCustomProperty("EntPtRmCourrier_");
} catch (FrontlineException e) {
}
String lieuDit = "";
try {
lieuDit = (String)entClient.getCustomProperty("EntLieuDit_");
} catch (FrontlineException e) {
}
String entBanque = "";
try {
entBanque = (String)entClient.getCustomProperty("EntBanque_");
} catch (FrontlineException e) {
}
String entIBAN = "";
try {
entIBAN = (String)entClient.getCustomProperty("EntIBAN_");
} catch (FrontlineException e) {
}
String entBIC = "";
try {
entBIC = (String)entClient.getCustomProperty("EntBIC_");
} catch (FrontlineException e) {
}
%>
|
|
|
<%=entIntraCom%> |
|
|
|
|
"><%=Utils.formatToWeb(voieNum + ", " + entNatureVoieID_ + " " + entLblVoie_,false)%> |
|
<%=cplAdr%> |
|
<%=remCour%> |
|
<%=lieuDit%> |
|
<% try { Enterprise.getEntZip(); Enterprise.getEntCity(); %> <% } catch(FieldNotInitializedException e) { try { Enterprise.getEntCity(); %> <% } catch (FieldNotInitializedException ex) {}} %>
|
|
<%--
|
|
|
<%=entBanque%> |
|
<%=entIBAN%> |
|
<%=entBIC%> |
--%>
<%}
} %>
<%
//http://u-project2.umanis.com/view.php?id=37437
//création d'avoir - location d'enseigne - plaque millésimée supplémentaire
if (statutID.equalsIgnoreCase(avoirStateID)){ %>
<% } %>
|
|
<%-- --%>
<% if(statutID.equalsIgnoreCase(devisStateID)) { %>
<% } if(statutID.equalsIgnoreCase(commandeStateID)) { %>
|
|
"/>
<%} else if(statutID.equalsIgnoreCase(factureStateID) || statutID.equalsIgnoreCase(avoirStateID)) { %>
|
|
|
" alt=" "/>
<%
// on récupère les champs concernant l'adresse du Fournisseur (Tiers)
if (oppBizProviderID != null) {
EnterpriseBean entFournisseur = new EnterpriseBean(oppBizProviderID, context);
try {
Enterprise.setEntID(entFournisseur.getEntID());
} catch (FieldNotInitializedException e) {
Enterprise.setEntID("");
}
try {
Enterprise.setEntCorpName(entFournisseur.getEntCorpName());
} catch (FieldNotInitializedException e) {
Enterprise.setEntCorpName("");
}
try {
Enterprise.setEntCode(entFournisseur.getEntCode());
} catch (FieldNotInitializedException e) {
Enterprise.setEntCode("");
}
try {
Enterprise.setEntCtrID(entFournisseur.getEntCtrID());
} catch (FieldNotInitializedException e) {
Enterprise.setEntCtrID("");
}
try {
Enterprise.setEntCity(entFournisseur.getEntCity());
} catch (FieldNotInitializedException e) {
Enterprise.setEntCity("");
}
try {
Enterprise.setEntPhone(entFournisseur.getEntPhone());
} catch (FieldNotInitializedException e) {
Enterprise.setEntPhone("");
}
try {
Enterprise.setEntZip(entFournisseur.getEntZip());
} catch (FieldNotInitializedException e) {
Enterprise.setEntZip("");
}
try {
Enterprise.setEntFax(entFournisseur.getEntFax());
} catch (FieldNotInitializedException e) {
Enterprise.setEntFax("");
}
try {
Enterprise.setEntWeb(entFournisseur.getEntWeb());
} catch (FieldNotInitializedException e) {
Enterprise.setEntWeb("");
}
try {
Enterprise.setEntSiret(entFournisseur.getEntSiret());
} catch (FieldNotInitializedException e) {
Enterprise.setEntSiret("");
}
try {
Enterprise.setCustomProperty("EntBP_", (String)entFournisseur.getCustomProperty("EntBP_"));
} catch (FieldNotInitializedException e) {
Enterprise.setCustomProperty("EntBP_","");
}
String voieNum = "";
try {
voieNum = (String)entFournisseur.getCustomProperty("EntVoieNum_");
} catch (FrontlineException e) {
}
String entNatureVoieID_ = null;
try {
entNatureVoieID_ = (String)entFournisseur.getCustomProperty("EntNatureVoieID_");
entNatureVoieID_ = (String)dico.getRefDisp(FlLocale.getInstance(session), "Ev_", "Te1", entNatureVoieID_);
} catch (FrontlineException e) {
entNatureVoieID_ = "";
}
String entLblVoie_ = "";
try {
entLblVoie_ = (String)entFournisseur.getCustomProperty("EntLblVoie_");
} catch (FrontlineException e) {
entLblVoie_ = "";
}
String entBP = "";
try {
entBP = (String)entFournisseur.getCustomProperty("EntBP_");
} catch (FrontlineException e) {
entBP = "";
}
String cplAdr = "";
try {
cplAdr = (String)entFournisseur.getCustomProperty("EntGeoCplt_");
} catch (FrontlineException e) {
cplAdr = "";
}
String remCour = "";
try {
remCour = (String)entFournisseur.getCustomProperty("EntPtRmCourrier_");
} catch (FrontlineException e) {
}
String lieuDit = "";
try {
lieuDit = (String)entFournisseur.getCustomProperty("EntLieuDit_");
} catch (FrontlineException e) {
}
String entBanque = "";
try {
entBanque = (String)entFournisseur.getCustomProperty("EntBanque_");
} catch (FrontlineException e) {
}
String entIBAN = "";
try {
entIBAN = (String)entFournisseur.getCustomProperty("EntIBAN_");
} catch (FrontlineException e) {
}
String entBIC = "";
try {
entBIC = (String)entFournisseur.getCustomProperty("EntBIC_");
} catch (FrontlineException e) {
}
%>
|
|
|
|
"><%=Utils.formatToWeb(voieNum + ", " + entNatureVoieID_ + " " + entLblVoie_,false)%> |
|
<%=cplAdr%> |
|
<%=remCour%> |
|
<%=lieuDit%> |
|
<% try { Enterprise.getEntZip(); Enterprise.getEntCity(); %> <% } catch(FieldNotInitializedException e) { try { Enterprise.getEntCity(); %> <% } catch (FieldNotInitializedException ex) {}} %>
|
<%
String fournEntBanque = "";
String fournEntIBAN = "";
String fournEntBIC = "";
if (entFournisseur != null) {
try {
fournEntBanque = (String)entFournisseur.getCustomProperty("EntBanque_");
} catch (FrontlineException e) {
}
try {
fournEntIBAN = (String)entFournisseur.getCustomProperty("EntIBAN_");
} catch (FrontlineException e) {
}
try {
fournEntBIC = (String)entFournisseur.getCustomProperty("EntBIC_");
} catch (FrontlineException e) {
}
}
%>
|
|
|
<%=fournEntBanque%> |
|
<%=fournEntIBAN%> |
|
<%=fournEntBIC%> |
<%}
} %>
|