%@page import="com.itextpdf.text.log.SysoLogger"%>
<%@page import="java.util.Map.Entry"%>
<%@page import="java.math.BigDecimal"%>
<%@page session="true" import="com.edeal.frontline.*,
java.util.*,java.util.Map.Entry,
java.text.*,java.lang.reflect.*,
com.edeal.frontline.navigation.*,
com.edeal.frontline.helper.custom.*"%>
<%@page session="true" import="com.edeal.frontline.Utils"%>
<%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %>
<%@ page import="com.edeal.frontline.helper.custom.FormHelper" %>
<%@ page import="com.edeal.frontline.controller.actions.custom.LoadWebFormPvtAction" %>
<%@page import="org.apache.commons.lang.StringUtils"%>
<%= Utils.getMessage(context, lngCode, "LF1DC", true,true,"N� Affili�") + " : " + Contrat_Helper.getAffiliateNumberByPersonID(context, Person.getPerID())%>
<%=enterprise%>
<%= Utils.getMessage(context, lngCode, paragraph, true,true, paragraph).replaceAll("::millesime::", millesime).replaceAll("::millesime\\+1::", (Integer.parseInt(millesime)+1)+"").replaceAll("::millesime-1::", (Integer.parseInt(millesime)-1)+"") %>
<% } }else { FormQuestionBean question = null; QuestionResponseBean questionResponse=null; try { question = new FormQuestionBean(questionID , context); if (responseID!=null) { questionResponse = new QuestionResponseBean(responseID,context); } } catch (Exception e) { } int fqtSeqNum = -1; if(question != null){ try{ fqtSeqNum = question.getFqtSeqNum(); String FqtLabel = question.getFqtLabel(); //« J'ai complete/lu les informations de cet onglet ». (afficher seulement si on a qu'un seul onglet) if(fqtSeqNum == 121 && StringUtils.isNotBlank(FqtLabel) && FqtLabel.contains("lu les informations de cet onglet") && map.size() == 1){ continue; } //Tourisme et Handicap (afficher seulement si c'est France/guadeloupe/guyane) String pays = ""; if(fqtSeqNum == 31 && StringUtils.isNotBlank(FqtLabel) && FqtLabel.contains("Tourisme") && FqtLabel.contains("Handicap")){ pays = (String) EnterpriseBean.lookup(context,"EntCtrID:RefVal",key); if(StringUtils.isNotBlank(pays) && !"FR".equals(pays) && !"GP".equals(pays) && !"GF".equals(pays)){ continue; } } if(lfqPosition == 410 && prefix.equals("R")) { pays = (String) EnterpriseBean.lookup(context,"EntCtrID:RefVal",key); if(StringUtils.isNotBlank(pays) && !"FR".equals(pays) && !"GP".equals(pays) && !"GF".equals(pays)){ continue; } } if((fqtSeqNum == 20 || fqtSeqNum == 22 || fqtSeqNum == 19 || fqtSeqNum == 18 || fqtSeqNum == 158 || fqtSeqNum == 159) || (fqtSeqNum >= 133 && fqtSeqNum <= 135 ) || (fqtSeqNum >= 143 && fqtSeqNum <= 145) || (fqtSeqNum >= 149 && fqtSeqNum <= 152) || (fqtSeqNum >= 153 && fqtSeqNum <= 156) || fqtSeqNum == 165 || fqtSeqNum == 29 || fqtSeqNum == 182 || fqtSeqNum == 187 || fqtSeqNum == 188 || fqtSeqNum == 1101 || fqtSeqNum == 35 || fqtSeqNum == 33 || fqtSeqNum == 31 || fqtSeqNum == 184 || fqtSeqNum == 183 || fqtSeqNum == 30 || fqtSeqNum == 32 || fqtSeqNum == 192 ){ if((tiersPrincipalTypeValue.startsWith(prefix) || "T".equals(prefix))){ if(fqtSeqNum == 135 || fqtSeqNum == 145 || fqtSeqNum == 151 || fqtSeqNum == 155 ){ if(!EnterpriseHelper.isTiersHasASubResto(context, entID)){ isPrintedContact = false; } } }else{ isPrintedContact = false; } } if(fqtSeqNum == 1) { p = 1; } }catch(FrontlineException eee){ } } //request.setAttribute("hiddenlnk", hiddenlnk); request.setAttribute("responses",resps); request.setAttribute("initialresponses",mapInitialQuestionResponse); request.setAttribute("isActorLogis",actcode != null && !"ano".equalsIgnoreCase(actcode)); request.setAttribute("curQuestion",question); // La question a poser request.setAttribute("curQrs",questionResponse); // La r�ponse �ventuellement existente try{ //50 415 12 114 434 //164 163 Integer[] fqtSeqNumToHide = {12, 50, 114, 416, 434}; List<%= Utils.getMessage(context, lngCode, "LF09F", "Cotisation") + " " + millesime %>
<%=Utils.getMessage(context, lngCode, "F203F", "D�signation") %> | <%=Utils.getMessage(context, lngCode, "F3023", "P. U. HT") %> | <%=Utils.getMessage(context, lngCode, "LF18A", "Quantit� factur�e") %> | <%=Utils.getMessage(context, lngCode, "F3025", "Remise sur P.U") %> | <%=Utils.getMessage(context, lngCode, "FF132", "P. U. HT Apr�s Remise") %> | <%=Utils.getMessage(context, lngCode, "FF134", "Montant HT") %> | <%=Utils.getMessage(context, lngCode, "FF130", "TVA � appliquer") %> | <%=Utils.getMessage(context, lngCode, "FF140", "Montant TVA") %> | <%=Utils.getMessage(context, lngCode, "F3026", "Prix net") %> |
---|---|---|---|---|---|---|---|---|
<%=(prdLabel != null ? prdLabel : Utils.formatToWeb(prdName, false)) + " (" + proPrdTva_ + ") " %>
<% }catch(Exception e){
System.out.println(e.getMessage());
}
if(isHEB){
out.print(" "+Utils.getMessage(context, lngCode, "MF101", true,true,"*Plafonn� � XX h�bergements.").replace("XX", maxquantity+"")+""); } try{ %> |
<%=Utils.formatToWeb(priUnit, false)%> €" value="<%= priUnit %>"/> | " id="<%= "qu_" + prdCode%>" name="<%= "qu_" + prdCode%>" value="<%=proQuantity %>" onchange="javascript:calculTotalPrd('<%=prdCode%>');" disabled="disabled"/> | <% }catch(Exception e){ e.printStackTrace(); } try{%><%=ProRemise_Nu1.intValue()+"%"%>" value="<%= ProRemise_Nu1.intValue() %>"/> | <% }catch(Exception e){ e.printStackTrace(); } try{%><%=ProUnitHTrem_%> €" value="<%=ProUnitHTrem_%>" /> | <% }catch(Exception e){ e.printStackTrace(); } try{%>"><%=ProMontantHTrem_%> € | <% }catch(Exception e){ e.printStackTrace(); } try{%><%=ProPrdTva_Val%>" value="<%= ProPrdTva_Val.substring(0,ProPrdTva_Val.length()-1).replace(",", ".") %>"/> | <% }catch(Exception e){ e.printStackTrace(); } try{%>"><%=ProMontantTva_2%> € | <% }catch(Exception e){ e.printStackTrace(); } try{%>" disabled="disabled" value="<%= filProttc %>"/> € | <% }catch(Exception e){ e.printStackTrace(); } try{%> <% }catch(Exception e){ e.printStackTrace(); } %>
<%=Utils.getMessage(context, lngCode, "LF18B", "Total HT") %> | <%=Utils.getMessage(context, lngCode, "LF18C", "Total TVA") %> | <%=Utils.getMessage(context, lngCode, "LF18D", "Total TTC") %> | ||||||
<%=Utils.getMessage(context, lngCode, "F1058", "Total")%> | € |
<%= Utils.getMessage(context, lngCode, paragraph, true,true, paragraph) %>
<% } else { FormQuestionBean question = null; QuestionResponseBean questionResponse=null; try { question = new FormQuestionBean(questionID , context); if (responseID!=null) { questionResponse = new QuestionResponseBean(responseID,context); } } catch (Exception e) { } int fqtSeqNum = -1; if(question != null){ try{ fqtSeqNum = question.getFqtSeqNum(); String FqtLabel = question.getFqtLabel(); //« J'ai complete/lu les informations de cet onglet ». (afficher seulement si on a qu'un seul onglet) if(fqtSeqNum == 121 && StringUtils.isNotBlank(FqtLabel) && FqtLabel.contains("lu les informations de cet onglet") && map.size() == 1){ continue; } //Tourisme et Handicap (afficher seulement si c'est France/guadeloupe/guyane) if((fqtSeqNum == 20 || fqtSeqNum == 22 || fqtSeqNum == 19 || fqtSeqNum == 18 || fqtSeqNum == 158 || fqtSeqNum == 159) || (fqtSeqNum >= 133 && fqtSeqNum <= 135 ) || (fqtSeqNum >= 143 && fqtSeqNum <= 145) || (fqtSeqNum >= 149 && fqtSeqNum <= 152) || (fqtSeqNum >= 153 && fqtSeqNum <= 156) || fqtSeqNum == 165){ if((tiersPrincipalTypeValue.startsWith(prefix) || "T".equals(prefix))){ if(fqtSeqNum == 135 || fqtSeqNum == 145 || fqtSeqNum == 151 || fqtSeqNum == 155){ if(!EnterpriseHelper.isTiersHasASubResto(context, entID)){ isPrintedContact = false; } } }else{ isPrintedContact = false; } } if(fqtSeqNum == 1) { p = 1; } }catch(FrontlineException eee){ } } //request.setAttribute("hiddenlnk", hiddenlnk); request.setAttribute("responses",resps); request.setAttribute("initialresponses",mapInitialSanitQuestionResponse); request.setAttribute("isActorLogis",actcode != null && !"ano".equalsIgnoreCase(actcode)); request.setAttribute("curQuestion",question); // La question a poser request.setAttribute("curQrs",questionResponse); // La r�ponse �ventuellement existente try{ //50 415 12 114 434 //164 163 Integer[] fqtSeqNumToHide = {12, 50, 114, 416, 434}; List