<% /****************************************************************************** * Copyright (c) 2000-2005 e-Deal * * e-Deal S.A. * 55 rue Brillat Savarin * 75013 Paris * France * * T: +33 (0)1 53 80 80 30 * 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" import="com.edeal.frontline.*"%><%@page import="java.util.*" %> <%@ page import="java.util.Vector" %> <%@ page import="com.edeal.frontline.navigation.FlRequest" %> <%@ page import="java.text.DecimalFormat" %> <%@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(); String id = null; try { id = Invoice.getID(); } catch (FieldNotInitializedException fnie) { } try { String supID = Invoice.getInvSupplID(); Supplier = new SupplierBean(supID, context); request.setAttribute("Supplier", Supplier); } catch (Exception e) { } float montantTtl = 0; try { montantTtl = ((Float)flRequest.getAttribute("montantTtl")).floatValue(); } catch (Exception e) { } DecimalFormat intFormat = FlLocale.getInstance(session).getDecimalFormat("#,##0;- #,##0"); DecimalFormat floatFormat = FlLocale.getInstance(session).getDecimalFormat("#,##0.##;- #,##0.##"); %> " objectTitle="<%= Utils.getMessage(session, \"L63C0\", false, true, \"Fiche facture\") %>" ou="<%=\"/read_invoice.fl\" + ( id != null ? \"?id=\" + id : \"\")%>" >
"/>">
<% try { Supplier.getSplAd1(); %> <% } catch (Exception e) {} %> <% try { Supplier.getSplAd2(); %> <% } catch (Exception e) {} %> <% try { Supplier.getSplAd3(); %> <% } catch (Exception e) {} %> <% StringBuffer buf = new StringBuffer(); try { buf.append(Supplier.getSplZip() + " "); } catch (Exception e) { } try { buf.append(Supplier.getSplCity()); } catch (Exception e) { } if (! "".equals(buf.toString())) { %> <% } %> <% try { Supplier.getSplCtrID(); %> <% } catch (Exception e) {} %>
<%= buf.toString() %>
" target="_blank">
">
" onselect="refreshIne();">
<%= intFormat.format(montantTtl) %> € <%= intFormat.format(Invoice.getInvAmt()) %> € <%= intFormat.format(Invoice.getInvAmt() - montantTtl) %> €
">
<% /****************************************************************************** * * * m.ichahane@e-deal.ma : 2006/08/30 10:11:25 : Mustapha * * *****************************************************************************/ %>