/* Automatically generated.
 * Copyright (c) 2000-2006 by SAP AG, Walldorf.,
 * http://www.sap.com
 * All rights reserved.
 *
 * This software is the confidential and proprietary information
 * of SAP AG, Walldorf. You shall not disclose such Confidential
 * Information and shall use it only in accordance with the terms
 * of the license agreement you entered into with SAP.
 * Do not edit.
 */

import ro.emid.common.constants.AppConstants;
import ro.emid.common.constants.GlobalAppConstants;
import ro.emid.common.db.AccessDB;
import ro.emid.common.db.CategoryAccessDB;
import ro.emid.common.db.LucrareProgramataAccessDB;
import ro.emid.common.db.framework.DatabaseException;
import ro.emid.common.types.Category;
import ro.emid.common.types.LucrareProgramata;
import ro.emid.common.utils.SessionUtils;
import ro.emid.lpod.LpodSessionUtils;
import java.sql.Timestamp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

public class JEE_jsp_WEB_2d_INF_pagelet_lucrariProgramate_showFiliale_1471595260132 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(102,0);to=(112,3)]
 private String getNumarHeader(final String app) {

    if (app.equals(GlobalAppConstants.APP_LUCRARI_PROGRAMATE)) {
        return "Nr. lucrari";
    } else if (app.equals(GlobalAppConstants.APP_OPERATIUNI_DISPECER)) {
        return "Nr. evenimente";
    } else {
        return "-";
    }

}// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(114,0);to=(126,3)]
 private long getNumarOfItems(final String app, final long idFiliala) throws DatabaseException {

    if (app.equals(GlobalAppConstants.APP_LUCRARI_PROGRAMATE)) {
        long count = AccessDB.getCount("LPD_LUCRARE_PROGRAMATA", " AND FILIALA_ID=" + idFiliala, "Get Numar Lucrari programate").longValue();
        if (count <= 0) {
            count = 0;
        }
        return count;
    } else if (app.equals(GlobalAppConstants.APP_OPERATIUNI_DISPECER)) {
        return AccessDB.getCount("LPD_EVENIMENT_DISPECER", " AND FILIALA_ID=" + idFiliala, "Get Numar Evenimente dispecer").longValue();
    }
    return -1;
}// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(128,0);to=(137,3)]
 private String getDataLastEdit(final String app, final long idFiliala) throws DatabaseException {
    Timestamp data = null;
    if (app.equals(GlobalAppConstants.APP_LUCRARI_PROGRAMATE)) {
        final LucrareProgramata lucrare = LucrareProgramataAccessDB.getLastLucrare(" AND FILIALA_ID = " + idFiliala);
        if (lucrare != null) {
            data = lucrare.getDataUpdate() != null ? lucrare.getDataUpdate() : lucrare.getDataInsert();
        }
    }
    return GlobalAppConstants.formatZiSaptaminaData(data);
}// end

	public void _jspService(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
	{
		//isXml=false
		JspFactory  _jspFactory     = JspFactory.getDefaultFactory();
		PageContext pageContext = _jspFactory.getPageContext(this,request,response,null,true,32768,true);
		ServletConfig config = pageContext.getServletConfig();
		ServletContext application = pageContext.getServletContext();
		com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext = (com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl) pageContext;
		com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
		HttpSession session = pageContext.getSession();
		if (!response.isCommitted()) {
		response.setContentType("text/html;charset=UTF-8");
		}
		JspWriter   out     = pageContext.getOut();
		java.lang.Object page = this;
		try {
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(1,58);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(2,64);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(3,47);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(4,55);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(5,64);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(6,66);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(7,50);to=(8,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(8,59);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(9,54);to=(10,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(10,50);to=(11,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(11,39);to=(13,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(13,50);to=(15,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(15,0);to=(22,2)]
			
    LpodSessionUtils.removeFiliala(session);
    LpodSessionUtils.removeSucursala(session);
    LpodSessionUtils.removeCentru(session);
    LpodSessionUtils.removeFormatia(session);

    final String _currentApp = SessionUtils.getCurrentLpodApp(session);

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(22,2);to=(25,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(25,0);to=(25,33)]
			// TagBeginGenerator - start [emid:template-lp]
			/* ----  emid:template-lp ---- */
			web.tag_template_2d_lp_1875650_1618159820409 _jspx_th_emid_template_2d_lp_0 = new web.tag_template_2d_lp_1875650_1618159820409();
			_jspx_resourceInjector.inject(_jspx_th_emid_template_2d_lp_0);
			_jspx_th_emid_template_2d_lp_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_template_2d_lp_0.setParent(null);
			_jspx_th_emid_template_2d_lp_0.setTitle("Filiale");
						out = _jspx_pageContext.pushBody();// Start _jspx_jspAttr0
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(26,37);to=(27,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(27,8);to=(27,29)]
			// CustomJspTag.action() - start
			if (_jspx_method_emid_localizare_2d_lp_0(_jspx_pageContext, null)) {
				return;
			}
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(27,29);to=(28,4)]
// end
			String _jspx_jspAttr0 = ((javax.servlet.jsp.tagext.BodyContent)out).getString();
			_jspx_jspAttr0 = _jspx_jspAttr0.trim();
			out = _jspx_pageContext.popBody();// END _jspx_jspAttr0
			_jspx_th_emid_template_2d_lp_0.setBreadcrumb(_jspx_jspAttr0);
						out = _jspx_pageContext.pushBody();// Start _jspx_jspAttr1
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(29,31);to=(33,54)]
			out.print("\r\n        <TABLE border=0 cellPadding=2 cellSpacing=1 width=\"100%\" class=\"gSAPTHEAD\" style=\"BACKGROUND-COLOR: white\">\r\n            <TR>\r\n                <TH class=\"gsapthead\" colSpan=2 height=25 noWrap>Filiale Electrica:</TH>\r\n                <TH class=\"gsapthead\" noWrap width=80>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(33,54);to=(33,118)]
			out.print(getNumarHeader(LpodSessionUtils.getCurrentLpodApp(session)));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(33,118);to=(39,12)]
			out.print("\r\n\r\n                </TH>\r\n                <TH class=\"gsapthead\" noWrap width=150>Data ultimei editari</TH>\r\n            </TR>\r\n\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(39,12);to=(41,40)]
			 final Category[] filiale = CategoryAccessDB.getAllCategoriesByParentId(-1);
                long total = 0;
                if (null == filiale) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(41,40);to=(47,12)]
			out.print("\r\n            <TR>\r\n                <TD>\r\n                    No Sunt filiale definite ...\r\n                </TD>\r\n            </TR>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(47,12);to=(50,61)]
			
            } else {

                for (int i = 0; i < filiale.length; i++) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(50,61);to=(51,26)]
			out.print("\r\n            <TR class=\"row");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(51,26);to=(51,34)]
			out.print(i%2);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(51,34);to=(53,40)]
			out.print("\">\r\n                <TD height=50 align=\"center\" valign=\"middle\">\r\n                    <IMG height=25 src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(53,40);to=(53,104)]
			out.print(AppConstants.WEB_RESOURCE_PATH + "/images/folder_big.gif");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(53,104);to=(57,20)]
			out.print("\"\r\n                         width=46>\r\n                </TD>\r\n                <TD height=50 width=\"100%\">\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(57,20);to=(57,68)]
			out.print(AppConstants.format(filiale[i].getCodSap()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(57,68);to=(57,100)]
			out.print("&nbsp;<A title=\"Lista sucursale ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(57,100);to=(57,125)]
			out.print(filiale[i].getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(57,125);to=(59,83)]
			out.print("\"\r\n                                                                             class=\"link\"\r\n                                                                             href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,83);to=(59,115)]
			out.print(GlobalAppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,115);to=(59,147)]
			out.print("?action=showSucursale&filialaId=");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,147);to=(59,170)]
			out.print(filiale[i].getId());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,170);to=(59,172)]
			out.print("\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,172);to=(59,197)]
			out.print(filiale[i].getName());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(59,197);to=(62,20)]
			out.print("\r\n\r\n                </A>&nbsp;\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(62,20);to=(62,103)]
			out.print((filiale[i].getDescription() == null) ? "" : '-' + filiale[i].getDescription());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(62,103);to=(63,59)]
			out.print("<BR>\r\n                            <SPAN style=\"font-size: 10px;\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(63,59);to=(65,91)]
			
                                final Category[] sucs = CategoryAccessDB.getAllCategoriesByParentId(filiale[i].getId());
                                if (sucs != null) for (int j = 0; j < sucs.length; j++) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(65,91);to=(66,36)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(66,36);to=(66,65)]
			out.print(sucs[j].getName() + ", ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(66,65);to=(67,32)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(67,32);to=(67,37)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(67,37);to=(72,20)]
			out.print("\r\n                            </span>\r\n                </TD>\r\n\r\n                <TD height=50 valign=\"middle\" align=\"center\">\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(72,20);to=(73,97)]
			
                        final long nrItems = getNumarOfItems(_currentApp, filiale[i].getId()); 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(73,97);to=(75,20)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(75,20);to=(75,43)]
			 total += nrItems; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(75,43);to=(76,41)]
			out.print("\r\n                    <SPAN class=gensmall>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(76,41);to=(76,53)]
			out.print(nrItems);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(76,53);to=(81,28)]
			out.print("</SPAN>\r\n                </TD>\r\n                <TD height=50 noWrap valign=\"middle\" align=\"center\">\r\n                        <SPAN class=gensmall>\r\n\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(81,28);to=(81,81)]
			out.print(getDataLastEdit(_currentApp, filiale[i].getId()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(81,81);to=(86,12)]
			out.print("\r\n                       </SPAN>\r\n                </TD>\r\n            </TR>\r\n\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(86,12);to=(86,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(86,17);to=(90,53)]
			out.print("\r\n\r\n            <tr style=\"font-weight:bold;\">\r\n                <td class=\"gsapthead\" colspan=\"2\" align=\"right\">&nbsp;Total:&nbsp;</td>\r\n                <td class=\"gsapthead\" align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(90,53);to=(90,63)]
			out.print(total);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(90,63);to=(95,12)]
			out.print("\r\n                </td>\r\n                <td class=\"gsapthead\">&nbsp;</td>\r\n            </tr>\r\n\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(95,12);to=(95,17)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(95,17);to=(97,4)]
			out.print("\r\n        </TABLE>\r\n    ");
// end
			String _jspx_jspAttr1 = ((javax.servlet.jsp.tagext.BodyContent)out).getString();
			_jspx_jspAttr1 = _jspx_jspAttr1.trim();
			out = _jspx_pageContext.popBody();// END _jspx_jspAttr1
			_jspx_th_emid_template_2d_lp_0.setBody(_jspx_jspAttr1);
			_jspx_th_emid_template_2d_lp_0.doTag();
			// TagBeginGenerator - end [emid:template-lp]
// end
				// TagEndGenerator - start[emid:template-lp]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_template_2d_lp_0);
				// TagEndGenerator - end [emid:template-lp]
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(98,19);to=(102,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(112,3);to=(114,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(126,3);to=(128,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/lucrariProgramate/showFiliale.jsp";from=(137,3);to=(139,0)]
// end
		} catch (ThreadDeath tde) { throw tde;
		} catch (OutOfMemoryError ome) { throw ome;
		} catch (Throwable t) {
			if (!(t instanceof SkipPageException)) {
				try {
					out.clear();
				} catch(java.io.IOException _jspioex) {}
				_jspx_pageContext.handlePageException(t);
			}
		}finally{
			_jspFactory.releasePageContext(pageContext);
		}
	}


	// CustomJspTag.action() - start
	private boolean _jspx_method_emid_localizare_2d_lp_0(com.sap.engine.services.servlets_jsp.lib.jspruntime.PageContextImpl _jspx_pageContext, javax.servlet.jsp.tagext.JspTag _jspx_parent) throws Throwable {
		JspWriter out = _jspx_pageContext.getOut();
			// TagBeginGenerator - start [emid:localizare-lp]
			/* ----  emid:localizare-lp ---- */
			web.tag_localizare_2d_lp_1875650_1618159819121 _jspx_th_emid_localizare_2d_lp_0 = new web.tag_localizare_2d_lp_1875650_1618159819121();
			com.sap.engine.services.servlets_jsp.server.application.InjectionWrapper _jspx_resourceInjector = ((com.sap.engine.services.servlets_jsp.server.application.ServletContextImpl)_jspx_pageContext.getServletContext()).getApplicationContext().getInjectionWrapper();
			_jspx_resourceInjector.inject(_jspx_th_emid_localizare_2d_lp_0);
			_jspx_th_emid_localizare_2d_lp_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_localizare_2d_lp_0.doTag();
			// TagBeginGenerator - end [emid:localizare-lp]
				// TagEndGenerator - start[emid:localizare-lp]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_localizare_2d_lp_0);
		return false;
	}
				// TagEndGenerator - end [emid:localizare-lp]
	// CustomJspTag.action() - end

}
