%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="com.edeal.frontline.helper.ContextHelper" %> <%@page import="com.edeal.frontline.helper.custom.EnterpriseHelper"%> <%@ page import="com.edeal.frontline.*" %> <%@ page import="java.util.*" %> <%@ page import="com.edeal.frontline.grid.GridData" %> <%@taglib uri="http://www.e-deal.com/taglib/fl" prefix="fl" %> <%-- Taux de générosité --%> <% FlRequest flRequest=new FlRequest(request); FlContext context = flRequest.getContext(); DataDictionary dico = flRequest.getContext().getDataDictionary(); String id = flRequest.getParameter("id"); String annuelTimCategorieID = dico.getRefIdByCode("TimCategorieID", "ANNU"); String entTye = (String)EnterpriseBean.lookup(context, "EntTyeID:Val", id); String timEtabCategorieID = null; if(!Utils.isNullEmptyString(entTye) && entTye.startsWith("R")) timEtabCategorieID = dico.getRefIdByCode("TimEtabCategorieID", "RESTO"); else timEtabCategorieID = dico.getRefIdByCode("TimEtabCategorieID", "HOTEL"); %>