/* 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.types.Incident;
import ro.emid.common.utils.pagination.PaginationController;
import java.util.Date;
import ro.emid.common.utils.pagination.PaginationData;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.utils.sort.SortController;
import ro.emid.common.utils.sort.SortData;
import ro.emid.common.types.Category;
import ro.emid.incidente.IncidenteSessionUtils;
import ro.emid.common.utils.SessionUtils;
import ro.emid.common.types.User;
import ro.emid.common.constants.AppConstants;

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

public class JEE_jsp_WEB_2d_INF_pagelet_rapoarte_raport_2d_lucrari_2d_accidentale_2d_incidente_1495030459298 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(170,0);to=(192,2)]

    private String totalDenumireI(Incident i) {
        String temp = "";
        if (i.getStatieNume() != null && i.getStatieNume().trim().length() > 0)
            temp += "2.5 Statie : " + i.getStatieNume() + "<br/>";
        if (i.getBobinaNume() != null && i.getBobinaNume().trim().length() > 0)
            temp += "2.5.1 Bobina : " + i.getBobinaNume() + "<br/>";
        if (i.getCelulaNume() != null && i.getCelulaNume().trim().length() > 0)
            temp += "2.6 Celula : " + i.getCelulaNume() + "<br/>";
        if (i.getBaraNume() != null && i.getBaraNume().trim().length() > 0)
            temp += "2.6.1 Bara : " + i.getBaraNume() + "<br/>";
        if (i.getLinieNume() != null && i.getLinieNume().trim().length() > 0)
            temp += "2.7 Linie : " + i.getLinieNume() + "<br/>";
        if (i.getDerivatieNume() != null && i.getDerivatieNume().trim().length() > 0)
            temp += "2.7.1 Derivatie : " + i.getDerivatieNume() + "<br/>";
        if (i.getPA_PT_Nume() != null && i.getPA_PT_Nume().trim().length() > 0)
            temp += "2.8 PA/PT : " + i.getPA_PT_Nume() + "<br/>";
        if (i.getTrafoNume() != null && i.getTrafoNume().trim().length() > 0)
            temp += "2.9 Trafo : " + i.getTrafoNume();

        return temp;
    }
// 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-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(1,50);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(2,73);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(3,35);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(4,67);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(5,53);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(6,61);to=(7,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(7,55);to=(9,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(1,50);to=(2,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(2,60);to=(3,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(3,54);to=(4,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(4,46);to=(5,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(5,58);to=(6,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(6,50);to=(8,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/incidente/declaratii.jsp";from=(8,0);to=(34,2)]
			
    final boolean printVersion = request.getParameter("printVersion") != null && "true".equals( request.getParameter("printVersion")) || request.getAttribute("printVersion") != null && "true".equals( request.getAttribute("printVersion")) ;

    final User user = SessionUtils.getUserLogat(session);

    Category filiala = IncidenteSessionUtils.getFiliala(session);
    if(filiala == null){
        filiala = new Category();
    }

    Category sucursala = IncidenteSessionUtils.getSucursala(session);
    if(sucursala == null){
        sucursala = new Category();
    }

    Category centruExploatare = IncidenteSessionUtils.getCentru(session);
    if(centruExploatare == null){
        centruExploatare = new Category();
    }

    Category formatiaDeLucru = IncidenteSessionUtils.getFormatia(session);
    if(formatiaDeLucru == null){
        formatiaDeLucru = new Category();
    }

    boolean isCuSectiiSiCentre = ((sucursala != null && sucursala.isCuSectiiSiCentre()) || (centruExploatare != null && centruExploatare.isCuSectiiSiCentre()));

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(9,49);to=(11,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(11,0);to=(31,2)]
			
        /**
         * @see ro.emid.incidente.action.ShowRaportLucrariAccidentaleIncidenteAction
         */

    int durataIncidentH = ObjectUtils.getIntValue(request.getParameter("durataIncidentH"), -1);    // in db -> minute
    int durataIncidentM = ObjectUtils.getIntValue(request.getParameter("durataIncidentM"), -1);
    int durataSelect = ObjectUtils.getIntValue(request.getParameter("durataSelect"), -1);
    int mediuSelect = ObjectUtils.getIntValue(request.getParameter("mediuSelect"), -1);


    String titluRaport = (String) request.getAttribute("title");
    Date dataStart = (Date) request.getAttribute("dataStart");
    Date dataStop  = (Date) request.getAttribute("dataStop");

    PaginationData pd = (PaginationData) request.getAttribute("pd");
    SortData sd = (SortData) request.getAttribute("sd");

    Incident[] incidenteArray = (Incident[]) request.getAttribute("result");


// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(31,2);to=(33,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(33,32);to=(52,0)]
			out.print("\r\n<style type=\"text/css\">\r\n    .clasu {\r\n        width: 50px;\r\n        text-align: right;\r\n    }\r\n\r\n    .trclass0{\r\n\r\n    }\r\n\r\n    .trclass1{\r\n        background-color: #EEE;\r\n    }\r\n\r\n</style>\r\n\r\n<SPAN style=\"FONT-SIZE: 12px; FONT-WEIGHT: bold\">Lucr\u0103ri accidentale incidente</span>\r\n\r\n");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(52,37);to=(55,26)]
			out.print("\r\n<div class=\"spacer\">&nbsp;</div>\r\n<div class=\"spacer\">&nbsp;</div>\r\n<form name=\"form\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(55,26);to=(55,52)]
			out.print(AppConstants.APP_NAME);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(55,52);to=(57,4)]
			out.print("?action=raport-lucrari-accidentale-incidente\" method=\"post\">\r\n    <input type=\"hidden\" name=\"run_report\" value=\"1\"/>\r\n    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(57,4);to=(57,36)]
			out.print(SortController.initSort(sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(57,36);to=(65,76)]
			out.print("\r\n    <table >\r\n        <tr>\r\n            <td>\r\n                <table class=\"gsaptd\" width=\"100%\">\r\n                    <tr>\r\n                        <td align=\"left\">\r\n\r\n                            <span style=\"font-size:16px; font-weight:bold;\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(65,76);to=(65,120)]
			out.print(ObjectUtils.getStringValue(titluRaport));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(65,120);to=(68,28)]
			out.print("</span>\r\n                        </td>\r\n                        <td>\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(68,28);to=(68,53)]
			// CustomJspTag.action() - start
			if (_jspx_method_emid_filtru_2d_localizare_0(_jspx_pageContext, null)) {
				return;
			}
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(68,53);to=(77,44)]
			out.print("\r\n                        </td>\r\n                        <td align=\"right\">\r\n                            <input type=\"hidden\" name=\"toExport\" value=\"0\">\r\n\r\n                            <label>\r\n                                Durata:\r\n                                <select name=\"durataSelect\" id=\"durataSelect\">\r\n                                    <option value=\"-1\"></option>\r\n                                    <option ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(77,44);to=(77,94)]
			out.print(durataSelect == 0 ? "selected=\"true\"" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(77,94);to=(78,44)]
			out.print(" value=\"0\">=</option>\r\n                                    <option ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(78,44);to=(78,94)]
			out.print(durataSelect == 1 ? "selected=\"true\"" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(78,94);to=(79,44)]
			out.print(" value=\"1\">></option>\r\n                                    <option ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(79,44);to=(79,94)]
			out.print(durataSelect == 2 ? "selected=\"true\"" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(79,94);to=(83,42)]
			out.print(" value=\"2\"><</option>\r\n                                </select>\r\n                            </label>\r\n                            <input type=\"text\" id=\"durataIncidentH\" name=\"durataIncidentH\" size=\"3\"\r\n                                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(83,42);to=(83,109)]
			out.print(durataIncidentH == -1 ? "" : Integer.toString(durataIncidentH));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(83,109);to=(85,42)]
			out.print("\"/>h\r\n                            <input type=\"text\" id=\"durataIncidentM\" name=\"durataIncidentM\" size=\"3\"\r\n                                   value=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(85,42);to=(85,109)]
			out.print(durataIncidentM == -1 ? "" : Integer.toString(durataIncidentM));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(85,109);to=(88,42)]
			out.print("\"/>m &nbsp;\r\n\r\n                            <label>\r\n                                Perioada: ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(88,42);to=(88,99)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datefield]
			/* ----  emid:datefield ---- */
			web.tag_datefield_1875650_1561483953449 _jspx_th_emid_datefield_0 = new web.tag_datefield_1875650_1561483953449();
			_jspx_resourceInjector.inject(_jspx_th_emid_datefield_0);
			_jspx_th_emid_datefield_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datefield_0.setParent(null);
			_jspx_th_emid_datefield_0.setName("dataStart");
			_jspx_th_emid_datefield_0.setValue(dataStart);
			_jspx_th_emid_datefield_0.doTag();
			// TagBeginGenerator - end [emid:datefield]
				// TagEndGenerator - start[emid:datefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datefield_0);
				// TagEndGenerator - end [emid:datefield]
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(88,99);to=(90,28)]
			out.print(" -\r\n                            </label>\r\n                            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(90,28);to=(90,83)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datefield]
			/* ----  emid:datefield ---- */
			web.tag_datefield_1875650_1561483953449 _jspx_th_emid_datefield_2 = new web.tag_datefield_1875650_1561483953449();
			_jspx_resourceInjector.inject(_jspx_th_emid_datefield_2);
			_jspx_th_emid_datefield_2.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datefield_2.setParent(null);
			_jspx_th_emid_datefield_2.setName("dataStop");
			_jspx_th_emid_datefield_2.setValue(dataStop);
			_jspx_th_emid_datefield_2.doTag();
			// TagBeginGenerator - end [emid:datefield]
				// TagEndGenerator - start[emid:datefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datefield_2);
				// TagEndGenerator - end [emid:datefield]
			// CustomJspTag.action() - end
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(90,83);to=(96,44)]
			out.print(" &nbsp;\r\n\r\n                            <label>\r\n                                Mediu:\r\n                                <select name=\"mediuSelect\">\r\n                                    <option value=\"-1\"></option>\r\n                                    <option ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(96,44);to=(96,93)]
			out.print(mediuSelect == 1 ? "selected=\"true\"" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(96,93);to=(97,44)]
			out.print(" value=\"1\">R</option>\r\n                                    <option ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(97,44);to=(97,93)]
			out.print(mediuSelect == 2 ? "selected=\"true\"" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(97,93);to=(106,8)]
			out.print(" value=\"2\">U</option>\r\n                                </select>\r\n                            </label> &nbsp;\r\n                            <input type=\"submit\" value=\"Ruleaz\u0103\" />\r\n                        </td>\r\n                    </tr>\r\n                </table>\r\n            </td>\r\n        </tr>\r\n        ");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(106,49);to=(108,8)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(108,43);to=(118,58)]
			out.print("\r\n        <tr>\r\n            <td>\r\n                <div class=\"spacer\">&nbsp;</div>\r\n                <table border=\"0.5\" width=\"100%\" style=\"background-color: white;\" cellspacing=\"1\" class=\"data\">\r\n                    <col align=\"center\">\r\n                    <col align=\"left\">\r\n                    <col align=\"center\">\r\n                    <thead>\r\n                    <tr>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(118,58);to=(118,135)]
			out.print(SortController.printSortableColumn("Nr. incident", "NUMAR_INCIDENT", sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(118,135);to=(122,58)]
			out.print("</th>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">Denumire instala\u0163ie</th>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">Durata incident</th>\r\n                        <th colspan=\"3\" class=\"gsapthead\">Num\u0103r utilizatori</th>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(122,58);to=(122,119)]
			out.print(SortController.printSortableColumn("Mediu", "MEDIU", sd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(122,119);to=(133,20)]
			out.print("</th>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">Energie nelivrat\u0103</th>\r\n                        <th rowspan=\"2\" class=\"gsapthead\">For\u0163a major\u0103</th>\r\n                    </tr>\r\n                    <tr>\r\n                        <th class=\"gsapthead\">JT</th>\r\n                        <th class=\"gsapthead\">MT</th>\r\n                        <th class=\"gsapthead\">IT</th>\r\n                    </tr>\r\n                    </thead>\r\n                    <tbody>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(133,20);to=(133,85)]
			 if (incidenteArray == null || incidenteArray.length == 0 ) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(133,85);to=(139,20)]
			out.print("\r\n                        <tr>\r\n                            <td colspan=\"10\" class=\"no-data\">\r\n                                Nu exist\u0103 date ...\r\n                            </td>\r\n                        </tr>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(139,20);to=(140,69)]
			 }else for (int i = 0; i < incidenteArray.length; i++) {
                            Incident incident = incidenteArray[i]; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(140,69);to=(141,46)]
			out.print("\r\n                            <tr class=\'trclass");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(141,46);to=(141,54)]
			out.print(i%2);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(141,54);to=(142,57)]
			out.print("\' valign=\"top\">\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(142,57);to=(142,89)]
			out.print(incident.getNumarIncident());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(142,89);to=(143,36)]
			out.print("</td>\r\n                                <td>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(143,36);to=(143,65)]
			out.print(totalDenumireI(incident));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(143,65);to=(144,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(144,57);to=(144,95)]
			out.print(incident.getDurataIncident() / 60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(144,95);to=(144,97)]
			out.print("h ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(144,97);to=(144,135)]
			out.print(incident.getDurataIncident() % 60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(144,135);to=(145,57)]
			out.print("\'</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(145,57);to=(145,90)]
			out.print(incident.getUtilizatori_JT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(145,90);to=(146,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(146,57);to=(146,90)]
			out.print(incident.getUtilizatori_MT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(146,90);to=(147,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(147,57);to=(147,90)]
			out.print(incident.getUtilizatori_IT());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(147,90);to=(148,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(148,57);to=(148,130)]
			out.print(incident.getMediu() == 1 ? "R" : incident.getMediu() == 2 ? "U" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(148,130);to=(149,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(149,57);to=(149,92)]
			out.print(incident.getEnergieNelivrata());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(149,92);to=(150,57)]
			out.print("</td>\r\n                                <td class=\"align-center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(150,57);to=(150,106)]
			out.print(incident.getFortaMajora() == 0 ? "NU" : "DA");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(150,106);to=(152,20)]
			out.print("</td>\r\n                            </tr>\r\n                    ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(152,20);to=(152,27)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(152,27);to=(157,32)]
			out.print("\r\n                    </tbody>\r\n                    <tfoot>\r\n                        <tr>\r\n                            <td class=\"gsapthead\" colspan=\"10\">\r\n                                ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(157,32);to=(157,81)]
			out.print(PaginationController.printPaginationData(pd));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(157,81);to=(168,0)]
			out.print("\r\n                            </td>\r\n                        </tr>\r\n                    </tfoot>\r\n                </table>\r\n            </td>\r\n        </tr>\r\n    </table>\r\n\r\n</form>\r\n\r\n");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-incidente/servlet_jsp/emid-incidente/root/WEB-INF/pagelet/rapoarte/raport-lucrari-accidentale-incidente.jsp";from=(168,39);to=(170,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_filtru_2d_localizare_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:filtru-localizare]
			/* ----  emid:filtru-localizare ---- */
			web.tag_filtru_2d_localizare_1875650_1561483954444 _jspx_th_emid_filtru_2d_localizare_0 = new web.tag_filtru_2d_localizare_1875650_1561483954444();
			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_filtru_2d_localizare_0);
			_jspx_th_emid_filtru_2d_localizare_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_filtru_2d_localizare_0.doTag();
			// TagBeginGenerator - end [emid:filtru-localizare]
				// TagEndGenerator - start[emid:filtru-localizare]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_filtru_2d_localizare_0);
		return false;
	}
				// TagEndGenerator - end [emid:filtru-localizare]
	// CustomJspTag.action() - end

}
