/* 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.Application;
import ro.emid.common.constants.AppConstants;
import ro.emid.common.constants.RoleConstants;
import ro.emid.common.types.*;
import ro.emid.common.utils.ObjectUtils;
import ro.emid.common.utils.StringUtils;
import ro.emid.common.utils.UserUtils;
import ro.emid.lpod.LpodSessionUtils;
import ro.emid.lpod.action.dispecer.EditEvenimentDispecerAction;
import ro.emid.lpod.db.CategoryODAccessDB;
import java.util.*;

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

public class JEE_jsp_WEB_2d_INF_pagelet_dispecer_rapoarte_raport_2d_informare_2d_zilnica_2d_od_1471595258179 extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspBase{

	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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(1,40);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(2,58);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(3,59);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(4,43);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(5,53);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(6,53);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(7,51);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(8,50);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(9,77);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(10,55);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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(11,32);to=(14,0)]
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(14,50);to=(16,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(16,0);to=(27,2)]
			
    /**
     * @see ro.emid.lpod.action.reports.RaportInformareZilnicaODAction
     */

    final User user = LpodSessionUtils.getUserLogat(session);
    final CategoryOD filiala = LpodSessionUtils.OD.getFiliala(session);
    final CategoryOD sucursala = LpodSessionUtils.OD.getSucursala(session);
    final CategoryOD centruExploatare = LpodSessionUtils.OD.getCentru(session);

    request.setAttribute("ctx", AppConstants.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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(27,2);to=(29,0)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(29,0);to=(29,50)]
			// TagBeginGenerator - start [emid:template-od]
			/* ----  emid:template-od ---- */
			web.tag_template_2d_od_1875650_1618159820883 _jspx_th_emid_template_2d_od_0 = new web.tag_template_2d_od_1875650_1618159820883();
			_jspx_resourceInjector.inject(_jspx_th_emid_template_2d_od_0);
			_jspx_th_emid_template_2d_od_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_template_2d_od_0.setParent(null);
			_jspx_th_emid_template_2d_od_0.setTitle("Raport informare zilnica");
						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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(30,37);to=(31,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(31,8);to=(31,27)]
			if (_jspx_method_emid_localizare_2d_od_0(_jspx_pageContext, null)) {
				return;
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(34,29);to=(35,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_od_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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(36,31);to=(37,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(37,8);to=(38,183)]
			
            if (user.getOdLevel() > RoleConstants.NIVEL_FILIALA && ((sucursala == null || sucursala.getId() <= 0) && (centruExploatare == null || centruExploatare.getId() <= 0))) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(38,183);to=(41,38)]
			out.print("\r\n              <br>\r\n                Va rugam sa selectati un DED / DED-L din\r\n                <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(41,38);to=(41,64)]
			out.print(AppConstants.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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(41,64);to=(44,8)]
			out.print("?action=homeDispecer\">pagina principala.</a>\r\n              <br/>\r\n            <br/>\r\n        ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(44,8);to=(44,24)]
			  return; } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(44,24);to=(46,8)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(46,8);to=(48,64)]
			
            if (Application.runAsFiliala()) {
                if (filiala == null || filiala.getId() < 0) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(48,64);to=(50,78)]
			out.print("\r\n                <br/>\r\n                    Va rugam sa selectati o filiala din <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(50,78);to=(50,104)]
			out.print(AppConstants.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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(50,104);to=(52,22)]
			out.print("?action=home\">pagina principala.</a>\r\n                <br/>\r\n                <br/> ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(52,22);to=(79,2)]
			
                return;
            }

        } else if (Application.runAsAparatCentral()) {
            // do nothing yet
        }

        List result = (List) request.getAttribute("result");
        Boolean error = (Boolean) request.getAttribute("error");
        Long idLocatie = (Long) request.getAttribute("idLocatie");
        Date dataStart = (Date) request.getAttribute("dataStart");
        Date dataStop = (Date) request.getAttribute("dataStop");
        Integer dataRevenireSN = (Integer) request.getAttribute("dataRevenireSN");


        final boolean checkBifaDedl = (sucursala != null && sucursala.getId() > 0) && (centruExploatare == null || centruExploatare.getId() <= 0);

        boolean faraDEDL = false;

        if (checkBifaDedl) {
            faraDEDL = 1 == ObjectUtils.getIntValue(request.getParameter("fara_dedl"), 0);
        } else {
            faraDEDL = true;
        }

        final CategoryCheckData checkData = LpodSessionUtils.getCategoriiSelectate(session);

// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(79,2);to=(97,29)]
			out.print("\r\n\r\n<style type=\"text/css\">\r\n    .bordered td {\r\n        border: 1px solid #999999;\r\n        background-color: white;\r\n    }\r\n\r\n</style>\r\n\r\n<table border=0>\r\n\r\n<tr>\r\n    <td align=\"center\" style=\"font-weight:bold;\">INFORMARE ZILNIC\u0102</td>\r\n</tr>\r\n\r\n<tr>\r\n<td>\r\n<form name=\"zaforma\" action=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(97,29);to=(97,55)]
			out.print(AppConstants.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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(97,55);to=(108,25)]
			out.print("?action=raport-informare-zilnica-od\" method=\"post\"\r\n      style=\"margin-top: 10px\">\r\n      <input type=\"hidden\" name=\"toExport\" id=\"toExport\" value=\"0\">\r\n\r\n<table>\r\n    <tr valign=\"top\">\r\n        <td align=\"left\">\r\n\r\n            <A href=\"#\" title=\"Click pentru a selecta mai multe categorii\" onClick=\"openCheckCategorii(); return false\"\r\n               class=\"link\"><IMG\r\n                    alt=\"Click pentru a selecta mai multe sucursale/C.E.\" border=0 width=12 height=13 hspace=3\r\n                    src=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(108,25);to=(108,95)]
			out.print(AppConstants.WEB_RESOURCE_PATH + "/images/icon_mini_search.gif");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(108,95);to=(112,12)]
			out.print("\"></A>\r\n            &nbsp;\r\n\r\n            Data :\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(112,12);to=(112,91)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datetimefield]
			/* ----  emid:datetimefield ---- */
			web.tag_datetimefield_1875650_1618159817963 _jspx_th_emid_datetimefield_0 = new web.tag_datetimefield_1875650_1618159817963();
			_jspx_resourceInjector.inject(_jspx_th_emid_datetimefield_0);
			_jspx_th_emid_datetimefield_0.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datetimefield_0.setParent(null);
			_jspx_th_emid_datetimefield_0.setName("data_start");
			_jspx_th_emid_datetimefield_0.setValue(dataStart);
			_jspx_th_emid_datetimefield_0.setHourFirst(new Boolean(true));
			_jspx_th_emid_datetimefield_0.doTag();
			// TagBeginGenerator - end [emid:datetimefield]
				// TagEndGenerator - start[emid:datetimefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datetimefield_0);
				// TagEndGenerator - end [emid:datetimefield]
			// 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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(112,91);to=(114,12)]
			out.print("\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(114,12);to=(114,89)]
			// CustomJspTag.action() - start
			// TagBeginGenerator - start [emid:datetimefield]
			/* ----  emid:datetimefield ---- */
			web.tag_datetimefield_1875650_1618159817963 _jspx_th_emid_datetimefield_2 = new web.tag_datetimefield_1875650_1618159817963();
			_jspx_resourceInjector.inject(_jspx_th_emid_datetimefield_2);
			_jspx_th_emid_datetimefield_2.setJspContext(_jspx_pageContext);
			_jspx_th_emid_datetimefield_2.setParent(null);
			_jspx_th_emid_datetimefield_2.setName("data_stop");
			_jspx_th_emid_datetimefield_2.setValue(dataStop);
			_jspx_th_emid_datetimefield_2.setHourFirst(new Boolean(true));
			_jspx_th_emid_datetimefield_2.doTag();
			// TagBeginGenerator - end [emid:datetimefield]
				// TagEndGenerator - start[emid:datetimefield]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_datetimefield_2);
				// TagEndGenerator - end [emid:datetimefield]
			// 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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(114,89);to=(120,34)]
			out.print("\r\n\r\n            &nbsp;&nbsp;\r\n            Data revenire SN:\r\n            <select name=\"dataRevenireSN\" id=\"dataRevenireSN\">\r\n                <option value=\"-1\"></option>\r\n                <option value=\"1\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(120,34);to=(120,76)]
			out.print(dataRevenireSN == 1 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(120,76);to=(121,34)]
			out.print(">Completat</option>\r\n                <option value=\"0\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(121,34);to=(121,76)]
			out.print(dataRevenireSN == 0 ? "selected" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(121,76);to=(125,12)]
			out.print(">Necompletat</option>\r\n            </select>\r\n\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(125,12);to=(125,38)]
			 if (checkBifaDedl) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(125,38);to=(129,62)]
			out.print("\r\n\r\n            &nbsp;\r\n\r\n            <input type=\"checkbox\" name=\"fara_dedl\" value=\"1\" ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(129,62);to=(129,93)]
			out.print(faraDEDL ? "checked" : "");
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(129,93);to=(132,12)]
			out.print(" id=\"fara_dedl\">\r\n            <label for=\"fara_dedl\">Fara DED-L subordonate</label>\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(132,12);to=(132,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(132,19);to=(150,4)]
			out.print("\r\n\r\n        </td>\r\n        <td align=\"right\">\r\n            &nbsp;<input type=\"submit\" value=\"Ruleaza raport\"/>\r\n            &nbsp;<input type=\"button\" value=\"Export\" onclick=\"doExport()\"/>\r\n\r\n            <script type=\"text/javascript\">\r\n                function doExport(){\r\n                    document.zaforma.toExport.value = \'1\';\r\n                    document.zaforma.submit();\r\n                    setTimeout(function(){\r\n                        document.zaforma.toExport.value = \'0\';\r\n                    }, 300);\r\n                }\r\n            </script>\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(150,4);to=(150,35)]
			 if (error.booleanValue()){
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(150,35);to=(158,4)]
			out.print("\r\n    <tr>\r\n       <td>\r\n           <span id=\"spanMaxPeriod\" style=\"color: red;\">\r\n              Va rugam selectati o perioada de maxim 90 de zile.\r\n           </span>\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(158,4);to=(158,9)]
			}
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(158,9);to=(160,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(160,4);to=(209,6)]
			 if (checkData.someDataChecked()) {
        final StringBuffer strCategorii = new StringBuffer("");
        final long[] idCentre = checkData.getIdCentre();
        final Set sucursaleSelectate = new HashSet();
        final Set filialeSelectate = new HashSet();
        for (int i = 0; i < idCentre.length; i++) {
            final long id = idCentre[i];
            final CategoryOD c = CategoryODAccessDB.getById(id);
            if (c != null) {
                final CategoryOD s = CategoryODAccessDB.getById(c.getIdParent());
                if (s != null) {
                    final CategoryOD f = CategoryODAccessDB.getById(s.getIdParent());
                    if (f != null) {
                        if (strCategorii.length() > 0) strCategorii.append("<br>");
                        strCategorii.append(f.getName()).append(", ").append(s.getName()).append(", ").append(c.getName());

                        sucursaleSelectate.add(new Long(s.getId()));
                        filialeSelectate.add(new Long(f.getId()));
                    }
                }
            }
        }

        final long[] idSucursale = checkData.getIdSucursale();
        for (int i = 0; i < idSucursale.length; i++) {
            final long id = idSucursale[i];
            if (!sucursaleSelectate.contains(new Long(id))) {
                final CategoryOD s = CategoryODAccessDB.getById(id);
                if (s != null) {
                    final CategoryOD f = CategoryODAccessDB.getById(s.getIdParent());
                    if (f != null) {
                        if (strCategorii.length() > 0) strCategorii.append("<br>");
                        strCategorii.append(f.getName()).append(", ").append(s.getName());
                    }
                }
            }
        }

        final long[] idFiliale = checkData.getIdFiliale();
        for (int i = 0; i < idFiliale.length; i++) {
            final long id = idFiliale[i];
            if (!filialeSelectate.contains(new Long(id))) {
                final CategoryOD f = CategoryODAccessDB.getById(id);
                if (f != null) {
                    if (strCategorii.length() > 0) strCategorii.append("<br>");
                    strCategorii.append(f.getName());
                }
            }
        }
    
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(209,6);to=(210,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(210,4);to=(210,21)]
			out.print(strCategorii);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(210,21);to=(211,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(211,4);to=(211,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(211,11);to=(218,4)]
			out.print("\r\n\r\n</table>\r\n\r\n<table border=\"0\" style=\"margin-top: 10px; font-size:12px\" cellspacing=\"1\" cellpadding=\"3\">\r\n\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(218,4);to=(218,57)]
			 if (filiala.getId() == idLocatie.longValue()) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(218,57);to=(220,28)]
			out.print("\r\n    <tr class=\"bordered\">\r\n        <td colspan=\"20\"><b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(220,28);to=(220,64)]
			out.print(filiala.getName().toUpperCase());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(220,64);to=(223,4)]
			out.print("\r\n        </b></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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(223,4);to=(223,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(223,11);to=(225,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(225,4);to=(232,6)]
			
        String currentSucursala = "";

        int startIndex = 0;
        if (filiala.getId() == idLocatie.longValue()) {
            startIndex = 1;
        }
    
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(232,6);to=(234,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(234,4);to=(241,6)]
			 for (int i = startIndex; i < result.size(); i++) {
        final RaportOdRow row = (RaportOdRow) result.get(i);

        final boolean isEmptyRow = row.getIdEveniment() <= 0;

        if (!currentSucursala.equals(row.getLocatie())) {
            currentSucursala = row.getLocatie();
    
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(241,6);to=(243,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(243,4);to=(243,31)]
			 if (i > startIndex) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(243,31);to=(247,4)]
			out.print("\r\n    <tr style=\"\">\r\n        <td colspan=\"20\">&nbsp;</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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(247,4);to=(247,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(247,11);to=(250,15)]
			out.print("\r\n    <tr class=\"bordered\">\r\n        <td colspan=\"20\">\r\n            <b>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(250,15);to=(250,36)]
			out.print(row.getLocatie());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(250,36);to=(253,12)]
			out.print("\r\n            </b>\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(253,12);to=(253,35)]
			 if (isEmptyRow) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(253,35);to=(255,12)]
			out.print("\r\n            - fara evenimente\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(255,12);to=(255,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(255,19);to=(277,4)]
			out.print("\r\n        </td>\r\n    </tr>\r\n\r\n    <tr align=\"center\" class=\"bordered\">\r\n        <td>Data</td>\r\n        <td>Ora</td>\r\n        <td>Min</td>\r\n        <td>Data revenire SN</td>\r\n        <td>Tip locatie</td>\r\n        <td>U<br>[kV]</td>\r\n        <td width=\"150px\">Denumire locatie</td>\r\n        <td width=\"150px\">Descriere eveniment</td>\r\n        <td width=\"150px\">Defect</td>\r\n        <td width=\"150px\">Semnalizari</td>\r\n        <td>Pi<br/>[MW]</td>\r\n        <td>Ore</td>\r\n        <td>min</td>\r\n        <td>Consumatori <br/> intrerupti</td>\r\n        <td>Gestionar</td>\r\n        <td width=\"150px\">Observatii suplimentare</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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(277,4);to=(277,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(277,11);to=(279,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(279,4);to=(279,27)]
			 if (isEmptyRow) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(279,27);to=(285,4)]
			out.print("\r\n    <tr class=\"bordered\">\r\n        <td colspan=\"20\">\r\n            <span>&nbsp;</span>\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(285,4);to=(285,17)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(285,17);to=(288,18)]
			out.print("\r\n    <tr class=\"bordered\" valign=\"top\">\r\n        <td align=\"center\">\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(288,18);to=(288,67)]
			out.print(AppConstants.formatx(row.getDataEveniment()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(288,67);to=(291,12)]
			out.print("\r\n            </nobr>\r\n            <br/>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(291,12);to=(291,106)]
			 if (AppConstants.runAtFiliala() && UserUtils.hasRoleUtilizatorOperatiuniDispecer(user)) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(291,106);to=(292,34)]
			out.print("\r\n            <a class=\"link\" href=\"");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(292,34);to=(292,98)]
			out.print(EditEvenimentDispecerAction.buildUrl( row.getIdEveniment()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(292,98);to=(293,12)]
			out.print("\">Edit</a>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(293,12);to=(293,25)]
			 } else {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(293,25);to=(294,53)]
			out.print("\r\n            <a class=\"link\" href=\"#\" onclick=\"print( ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(294,53);to=(294,78)]
			out.print(row.getIdEveniment());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(294,78);to=(295,12)]
			out.print(")\">View</a>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(295,12);to=(295,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(295,19);to=(297,19)]
			out.print("\r\n        </td>\r\n        <td nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(297,19);to=(297,70)]
			out.print(AppConstants.formatOra(row.getDataEveniment()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(297,70);to=(299,19)]
			out.print("\r\n        </td>\r\n        <td nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(299,19);to=(299,73)]
			out.print(AppConstants.formatMinute(row.getDataEveniment()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(299,73);to=(301,19)]
			out.print("\r\n        </td>\r\n        <td nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(301,19);to=(301,76)]
			out.print(AppConstants.formatDataTime(row.getDataRevenireSN()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(301,76);to=(304,18)]
			out.print("\r\n        </td>\r\n        <td nowrap>\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(304,18);to=(304,73)]
			out.print(AppConstants.format(row.getTipLocatie(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(304,73);to=(306,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(306,12);to=(306,72)]
			 if (!StringUtils.isZeroLength(row.getTipLocatie2())) { 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(306,72);to=(308,18)]
			out.print("\r\n            <br/>\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(308,18);to=(308,74)]
			out.print(AppConstants.format(row.getTipLocatie2(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(308,74);to=(310,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(310,12);to=(310,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(310,19);to=(313,18)]
			out.print("\r\n        </td>\r\n        <td nowrap align=\"center\">\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(313,18);to=(313,64)]
			out.print(AppConstants.format(row.getU(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(313,64);to=(315,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(315,12);to=(315,62)]
			 if (!StringUtils.isZeroLength(row.getU2())) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(315,62);to=(317,18)]
			out.print("\r\n            <br/>\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(317,18);to=(317,65)]
			out.print(AppConstants.format(row.getU2(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(317,65);to=(319,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(319,12);to=(319,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(319,19);to=(322,18)]
			out.print("\r\n        </td>\r\n        <td nowrap>\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(322,18);to=(322,73)]
			out.print(AppConstants.format(row.getDenLocatie(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(322,73);to=(324,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(324,12);to=(324,71)]
			 if (!StringUtils.isZeroLength(row.getDenLocatie2())) {
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(324,71);to=(326,18)]
			out.print("\r\n            <br/>\r\n            <nobr>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(326,18);to=(326,64)]
			out.print(AppConstants.format(row.getDenLocatie2()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(326,64);to=(328,12)]
			out.print("\r\n            </nobr>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(328,12);to=(328,19)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(328,19);to=(331,12)]
			out.print("\r\n        </td>\r\n        <td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(331,12);to=(331,44)]
			out.print(row.getDescriereEveniment());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(331,44);to=(334,12)]
			out.print("&nbsp;\r\n        </td>\r\n        <td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(334,12);to=(334,68)]
			out.print(StringUtils.replace(row.getDefect(), '\n', "<br/>"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(334,68);to=(337,12)]
			out.print("\r\n        </td>\r\n        <td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(337,12);to=(337,73)]
			out.print(StringUtils.replace(row.getSemnalizari(), '\n', "<br/>"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(337,73);to=(339,46)]
			out.print("\r\n        </td>\r\n        <td nowrap title=\"Puterea originala : ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(339,46);to=(339,84)]
			out.print(AppConstants.format( row.getPi()));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(339,84);to=(340,12)]
			out.print("\">&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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(340,12);to=(340,86)]
			 final double pi = ObjectUtils.getDoubleValue(row.getPi(), 0) / 1000; 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(340,86);to=(341,12)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(341,12);to=(341,41)]
			out.print(AppConstants.format2(pi));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(341,41);to=(343,34)]
			out.print("\r\n        </td>\r\n        <td nowrap align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(343,34);to=(343,68)]
			out.print(row.getDurataEveniment() / 60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(343,68);to=(345,34)]
			out.print("\r\n        </td>\r\n        <td nowrap align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(345,34);to=(345,68)]
			out.print(row.getDurataEveniment() % 60);
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(345,68);to=(347,34)]
			out.print("\r\n        </td>\r\n        <td nowrap align=\"center\">");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(347,34);to=(347,59)]
			out.print(row.getConsumatori());
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(347,59);to=(349,19)]
			out.print("\r\n        </td>\r\n        <td nowrap>");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(349,19);to=(349,73)]
			out.print(AppConstants.format(row.getGestionar(), "&nbsp;"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(349,73);to=(352,12)]
			out.print("\r\n        </td>\r\n        <td>\r\n            ");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(352,12);to=(352,72)]
			out.print(StringUtils.replace(row.getObservatii(), '\n', "<br/>"));
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(352,72);to=(355,4)]
			out.print("\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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(355,4);to=(355,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(355,11);to=(356,4)]
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(356,4);to=(356,11)]
			 } 
// end
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(356,11);to=(365,4)]
			out.print("\r\n</table>\r\n</form>\r\n</td>\r\n</tr>\r\n\r\n\r\n</table>\r\n\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_od_0.setBody(_jspx_jspAttr1);
			_jspx_th_emid_template_2d_od_0.doTag();
			// TagBeginGenerator - end [emid:template-od]
// end
				// TagEndGenerator - start[emid:template-od]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_template_2d_od_0);
				// TagEndGenerator - end [emid:template-od]
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(366,19);to=(372,35)]
			out.print("\r\n\r\n<script type=\"text/javascript\">\r\n    var printWindow = null;\r\n    function print(id) {\r\n        if (printWindow != null) printWindow.close();\r\n        printWindow = window.open(\'");
// end
// begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(372,35);to=(372,61)]
			out.print(AppConstants.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/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(372,61);to=(381,0)]
			out.print("?action=view-eveniment&id=\' + id);\r\n    }\r\n\r\n    function categoriesChecked() {\r\n        document.zaforma.submit();\r\n    }\r\n</script>\r\n\r\n\r\n");
// 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_od_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-od]
			/* ----  emid:localizare-od ---- */
			web.tag_localizare_2d_od_1875650_1618159819417 _jspx_th_emid_localizare_2d_od_0 = new web.tag_localizare_2d_od_1875650_1618159819417();
			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_od_0);
			_jspx_th_emid_localizare_2d_od_0.setJspContext(_jspx_pageContext);
			javax.servlet.jsp.tagext.JspFragment _jspx_temp0 = new JEE_jsp_WEB_2d_INF_pagelet_dispecer_rapoarte_raport_2d_informare_2d_zilnica_2d_od_1471595258179_Helper(0, _jspx_pageContext, _jspx_th_emid_localizare_2d_od_0, null);
			_jspx_th_emid_localizare_2d_od_0.setJspBody(_jspx_temp0);
			_jspx_th_emid_localizare_2d_od_0.doTag();
			// TagBeginGenerator - end [emid:localizare-od]
				// TagEndGenerator - start[emid:localizare-od]
				_jspx_resourceInjector.invokePreDestroyMethod(_jspx_th_emid_localizare_2d_od_0);
		return false;
	}
				// TagEndGenerator - end [emid:localizare-od]

	private class JEE_jsp_WEB_2d_INF_pagelet_dispecer_rapoarte_raport_2d_informare_2d_zilnica_2d_od_1471595258179_Helper
		extends com.sap.engine.services.servlets_jsp.lib.jspruntime.JspFragmentBase
	{
		private javax.servlet.jsp.tagext.JspTag _jspx_parent;
		private int[] _jspx_push_body_count;

		public JEE_jsp_WEB_2d_INF_pagelet_dispecer_rapoarte_raport_2d_informare_2d_zilnica_2d_od_1471595258179_Helper(int index, JspContext jspContext, javax.servlet.jsp.tagext.JspTag _jspx_parent, int[] _jspx_push_body_count)
		{
			super(index, jspContext, _jspx_parent);
			this._jspx_parent = _jspx_parent;
			this._jspx_push_body_count = _jspx_push_body_count;
		}
		public void invoke0(JspWriter out)
			throws Throwable
		{
// HTML // begin [file="D:/usr/sap/POR/J00/j2ee/cluster/apps/JavaEE/emid-lpod/servlet_jsp/emid-lpod/root/WEB-INF/pagelet/dispecer/rapoarte/raport-informare-zilnica-od.jsp";from=(31,28);to=(34,8)]
			out.print("\r\n            <span class=\"slash\">/</span>\r\n            <a class=\"link\" href=\"");
			out.print((java.lang.String) _jspx_pageContext.evaluateInternal("${ctx}", java.lang.String.class, false, null));
			out.print("?action=rapoarte-od\">Rapoarte</a> <span class=\"slash\">/</span> Raport informare zilnic\u0103\r\n        ");
// end
		}

		public void invoke(java.io.Writer writer)
			throws JspException
		{
			JspWriter out = null;
			if (writer != null) {
				out = this.jspContext.pushBody(writer);
			} else {
				out = this.jspContext.getOut();
			}
			try {
				switch(this.index) {
				case 0:
					invoke0(out);
					break;
				}
			} catch(Throwable e) {
				if (e instanceof SkipPageException)
					throw (SkipPageException) e;
				throw new JspException(e);
			} finally {
				if (writer != null) {
					this.jspContext.popBody();
				}
			}
		}
	}
}
