<?xml version="1.0" encoding="UTF-8" ?> <!-- Created with iReport - A designer for JasperReports --> <!DOCTYPE jasperReport PUBLIC "//JasperReports//DTD Report Design//EN" "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd"> <jasperReport name="TAR11092_EXCEL" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="594" columnWidth="535" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <import value="com.csc.library.utilities.*" /> <parameter name="CODEID" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["CODE"]]></defaultValueExpression> </parameter> <parameter name="TOTAL" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL"]]></defaultValueExpression> </parameter> <parameter name="CODE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["CODE(S)"]]></defaultValueExpression> </parameter> <parameter name="PAGE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["PAGE"]]></defaultValueExpression> </parameter> <parameter name="RECORDS" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RECORD(S)"]]></defaultValueExpression> </parameter> <parameter name="DOCID" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DOCID"]]></defaultValueExpression> </parameter> <parameter name="COMPANYD" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["COMPANY DATE"]]></defaultValueExpression> </parameter> <parameter name="DAYT" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY TYPE"]]></defaultValueExpression> </parameter> <parameter name="ISWORK" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["ISWORK"]]></defaultValueExpression> </parameter> <parameter name="LATE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["LATE"]]></defaultValueExpression> </parameter> <parameter name="LEAVE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["LEAVE"]]></defaultValueExpression> </parameter> <parameter name="ABSENT" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["ABSENT"]]></defaultValueExpression> </parameter> <parameter name="DINZONE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY INZONE"]]></defaultValueExpression> </parameter> <parameter name="DOUTZONE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY OUTZONE"]]></defaultValueExpression> </parameter> <parameter name="TINZONE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME INZONE"]]></defaultValueExpression> </parameter> <parameter name="TOUTZONE" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME OUTZONE"]]></defaultValueExpression> </parameter> <parameter name="SHIFT" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["SHIFT"]]></defaultValueExpression> </parameter> <parameter name="REPORTHEADER" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="POSITION" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["POSITION"]]></defaultValueExpression> </parameter> <parameter name="No" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["NO"]]></defaultValueExpression> </parameter> <parameter name="TIME" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TIME"]]></defaultValueExpression> </parameter> <parameter name="DATE" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["DATE"]]></defaultValueExpression> </parameter> <parameter name="VPAGE" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TAR1109"]]></defaultValueExpression> </parameter> <parameter name="STOP" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["STOP"]]></defaultValueExpression> </parameter> <parameter name="OT__T2" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["OT"]]></defaultValueExpression> </parameter> <parameter name="CDINZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY IN COM"]]></defaultValueExpression> </parameter> <parameter name="CDOUTZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY OUT COM"]]></defaultValueExpression> </parameter> <parameter name="CTINZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME IN COM"]]></defaultValueExpression> </parameter> <parameter name="CTOUTZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME OUT COM"]]></defaultValueExpression> </parameter> <parameter name="HEAD1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME ATTENDANCE"]]></defaultValueExpression> </parameter> <parameter name="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="TOTALALL" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[LABEL]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTALALL"]]></defaultValueExpression> </parameter> <parameter name="VPAGE1" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TAR1109"]]></defaultValueExpression> </parameter> <parameter name="MBU1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BUSINESS UNIT 1"]]></defaultValueExpression> </parameter> <parameter name="MBU2" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BUSINESS UNIT 2"]]></defaultValueExpression> </parameter> <parameter name="MBU3" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["BUSINESS UNIT 3"]]></defaultValueExpression> </parameter> <parameter name="NAMESURNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["NAME SURNAME"]]></defaultValueExpression> </parameter> <parameter name="WORKING" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["WORKING"]]></defaultValueExpression> </parameter> <parameter name="DAY__T1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY"]]></defaultValueExpression> </parameter> <parameter name="DAY-INZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY INZONE"]]></defaultValueExpression> </parameter> <parameter name="DAY-OUTZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY OUTZONE"]]></defaultValueExpression> </parameter> <parameter name="TIME-INZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME INZONE"]]></defaultValueExpression> </parameter> <parameter name="TIME-OUTZONE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TIME OUTZONE"]]></defaultValueExpression> </parameter> <parameter name="DATE-TIME-TO-SWIPE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DATE TIME TO SWIPE"]]></defaultValueExpression> </parameter> <parameter name="DATE-TIME-SWIPE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DATE TIME SWIPE"]]></defaultValueExpression> </parameter> <parameter name="DATE__T1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DATE"]]></defaultValueExpression> </parameter> <parameter name="lang" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="COUNTLATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="NUMLATE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="BU1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="BU2" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RTA3004"]]></defaultValueExpression> </parameter> <parameter name="DATETHAI" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="DATEENG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="GROUPBY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <field name="ttime_current1__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__companyid]]></fieldDescription> </field> <field name="ttime_current1__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__employeeid]]></fieldDescription> </field> <field name="ttime_current1__dateid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__dateid]]></fieldDescription> </field> <field name="ttime_current1__time0id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__time0id]]></fieldDescription> </field> <field name="ttime_current1__eventgrp" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__eventgrp]]></fieldDescription> </field> <field name="ttime_current1__lt" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__lt]]></fieldDescription> </field> <field name="ttime_current1__c_lv" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__c_lv]]></fieldDescription> </field> <field name="ttime_current1__m_lv" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__m_lv]]></fieldDescription> </field> <field name="ttime_current1__lv_ty" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__lv_ty]]></fieldDescription> </field> <field name="ttime_current1__ot1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ot1]]></fieldDescription> </field> <field name="ttime_current1__ot5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ot5]]></fieldDescription> </field> <field name="ttime_current1__ot2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ot2]]></fieldDescription> </field> <field name="ttime_current1__ot3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ot3]]></fieldDescription> </field> <field name="ttime_current1__hour_d" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__hour_d]]></fieldDescription> </field> <field name="ttime_current1__ac_ot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ac_ot]]></fieldDescription> </field> <field name="ttime_current1__ap_ot" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__ap_ot]]></fieldDescription> </field> <field name="ttime_current1__c_tm_bg" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__c_tm_bg]]></fieldDescription> </field> <field name="ttime_current1__c_tm_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__c_tm_en]]></fieldDescription> </field> <field name="ttime_current1__m_tm_bg" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__m_tm_bg]]></fieldDescription> </field> <field name="ttime_current1__m_tm_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__m_tm_en]]></fieldDescription> </field> <field name="ttime_current1__c_dt_bg" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__c_dt_bg]]></fieldDescription> </field> <field name="ttime_current1__c_dt_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__c_dt_en]]></fieldDescription> </field> <field name="ttime_current1__m_dt_bg" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__m_dt_bg]]></fieldDescription> </field> <field name="ttime_current1__m_dt_en" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__m_dt_en]]></fieldDescription> </field> <field name="ttime_current1__emp_position" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__emp_position]]></fieldDescription> </field> <field name="ttime_current1__branch" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__branch]]></fieldDescription> </field> <field name="ttime_current1__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__bu1]]></fieldDescription> </field> <field name="ttime_current1__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__bu2]]></fieldDescription> </field> <field name="ttime_current1__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__bu3]]></fieldDescription> </field> <field name="ttime_current1__bu4" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__bu4]]></fieldDescription> </field> <field name="ttime_current1__bu5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__bu5]]></fieldDescription> </field> <field name="ttime_current1__emp_group" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__emp_group]]></fieldDescription> </field> <field name="ttime_current1__forget_in" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__forget_in]]></fieldDescription> </field> <field name="ttime_current1__forget_out" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__forget_out]]></fieldDescription> </field> <field name="ttime_current1__salatype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__salatype]]></fieldDescription> </field> <field name="ttime_current1__tm_breakin" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__tm_breakin]]></fieldDescription> </field> <field name="ttime_current1__tm_breakout" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__tm_breakout]]></fieldDescription> </field> <field name="ttime_current1__doctype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__doctype]]></fieldDescription> </field> <field name="mtime0__time0id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mtime0__time0id]]></fieldDescription> </field> <field name="mtime0__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mtime0__companyid]]></fieldDescription> </field> <field name="mtime0__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mtime0__edesc]]></fieldDescription> </field> <field name="mtime0__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mtime0__tdesc]]></fieldDescription> </field> <field name="memployee__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__companyid]]></fieldDescription> </field> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription> </field> <field name="memployee__emp_prefix" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__emp_prefix]]></fieldDescription> </field> <field name="memployee__fname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fname]]></fieldDescription> </field> <field name="memployee__lname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__lname]]></fieldDescription> </field> <field name="memployee__efname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__efname]]></fieldDescription> </field> <field name="memployee__elname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__elname]]></fieldDescription> </field> <field name="memployee__fullname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fullname]]></fieldDescription> </field> <field name="meventgrp__eventgrpid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__eventgrpid]]></fieldDescription> </field> <field name="meventgrp__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__companyid]]></fieldDescription> </field> <field name="meventgrp__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__edesc]]></fieldDescription> </field> <field name="meventgrp__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__tdesc]]></fieldDescription> </field> <field name="mgroup__groupid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mgroup__groupid]]></fieldDescription> </field> <field name="mgroup__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mgroup__companyid]]></fieldDescription> </field> <field name="mgroup__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mgroup__tdesc]]></fieldDescription> </field> <field name="mgroup__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mgroup__edesc]]></fieldDescription> </field> <field name="mgroup__consolidate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mgroup__consolidate]]></fieldDescription> </field> <field name="mbranch__branchid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__branchid]]></fieldDescription> </field> <field name="mbranch__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__tdesc]]></fieldDescription> </field> <field name="mbranch__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__edesc]]></fieldDescription> </field> <field name="mbranch__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbranch__companyid]]></fieldDescription> </field> <field name="mbu1__bu1id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__bu1id]]></fieldDescription> </field> <field name="mbu1__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__tdesc]]></fieldDescription> </field> <field name="mbu1__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__edesc]]></fieldDescription> </field> <field name="mbu1__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu1__companyid]]></fieldDescription> </field> <field name="mbu2__bu2id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__bu2id]]></fieldDescription> </field> <field name="mbu2__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__tdesc]]></fieldDescription> </field> <field name="mbu2__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__edesc]]></fieldDescription> </field> <field name="mbu2__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu2__companyid]]></fieldDescription> </field> <field name="mbu3__bu3id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__bu3id]]></fieldDescription> </field> <field name="mbu3__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__tdesc]]></fieldDescription> </field> <field name="mbu3__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__edesc]]></fieldDescription> </field> <field name="mbu3__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu3__companyid]]></fieldDescription> </field> <field name="mbu4__bu4id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__bu4id]]></fieldDescription> </field> <field name="mbu4__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__tdesc]]></fieldDescription> </field> <field name="mbu4__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__edesc]]></fieldDescription> </field> <field name="mbu4__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu4__companyid]]></fieldDescription> </field> <field name="mbu5__bu5id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__bu5id]]></fieldDescription> </field> <field name="mbu5__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__tdesc]]></fieldDescription> </field> <field name="mbu5__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__edesc]]></fieldDescription> </field> <field name="mbu5__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__companyid]]></fieldDescription> </field> <field name="mposition__positionid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__positionid]]></fieldDescription> </field> <field name="mposition__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__tdesc]]></fieldDescription> </field> <field name="mposition__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__edesc]]></fieldDescription> </field> <field name="mposition__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mposition__companyid]]></fieldDescription> </field> <field name="memployee__fulllname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fulllname]]></fieldDescription> </field> <field name="ttime_current1__warn05" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn05]]></fieldDescription> </field> <variable name="count" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[( !( (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_bg})).doubleValue()==0.00) && (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_en})).doubleValue()==0) && (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__hour_d})).doubleValue()==0) ) )?$F{ttime_current1__employeeid} :null]]></variableExpression> </variable> <variable name="SUMLT" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__lt}))]]></variableExpression> </variable> <variable name="SUMOT" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min( (!($F{ttime_current1__eventgrp}.equals("H") || $F{ttime_current1__eventgrp}.equals("I")))?$F{ttime_current1__ac_ot} : ( Double.valueOf($F{ttime_current1__m_tm_bg}).doubleValue() < Double.valueOf($F{ttime_current1__tm_breakin}).doubleValue() && Double.valueOf($F{ttime_current1__m_tm_en}).doubleValue() > Double.valueOf($F{ttime_current1__tm_breakout}).doubleValue() )?String.valueOf( Double.valueOf($F{ttime_current1__ac_ot}).doubleValue()-(Double.valueOf($F{ttime_current1__tm_breakout}).doubleValue()-Double.valueOf($F{ttime_current1__tm_breakin}).doubleValue()) ) :$F{ttime_current1__ac_ot} ) )]]></variableExpression> </variable> <variable name="SUMLV" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__m_lv}))]]></variableExpression> </variable> <variable name="SUMLTALL" class="java.lang.Integer" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__lt}))]]></variableExpression> </variable> <variable name="SUMOTALL" class="java.lang.Integer" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__ac_ot}))]]></variableExpression> </variable> <variable name="SUMLVALL" class="java.lang.Integer" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__m_lv}))]]></variableExpression> </variable> <variable name="COUNT_BRANCH" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU1" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU2" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU3" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU4" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU5" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="COUNT_MGROUP" class="java.lang.Integer" resetType="Report" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="SUMHOURD" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min( $F{ttime_current1__eventgrp}.equals("H") || $F{ttime_current1__eventgrp}.equals("I") ?"0.00" :$F{ttime_current1__hour_d} ) )]]></variableExpression> </variable> <variable name="SUMHOURDALL" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__hour_d}))]]></variableExpression> </variable> <variable name="COUNT_EMPLOYEEID" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{ttime_current1__employeeid}]]></variableExpression> </variable> <variable name="DOUBLE_TIME_LT" class="java.lang.Double" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[Double.valueOf(new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__lt},"0.00"))]]></variableExpression> </variable> <variable name="CHG_LT" class="java.lang.Double" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[Double.valueOf(new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__lt}))]]></variableExpression> </variable> <variable name="CHG_COUNTLATE" class="java.lang.Double" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[Double.valueOf(new com.csc.library.report.ReportUDF().getTime2Min(Double.valueOf($P{COUNTLATE}))) ]]></variableExpression> </variable> <variable name="NEGE_LT_AND_COUNTLATE" class="java.lang.Double" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[Double.valueOf($V{CHG_LT}.doubleValue() - $V{CHG_COUNTLATE}.doubleValue())]]></variableExpression> </variable> <variable name="SUM_LT_AND_COUNTLATE" class="java.lang.Double" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[$V{COUNT_EMPLOYEEID}.intValue()>4?$V{CHG_LT} :$V{NEGE_LT_AND_COUNTLATE}.doubleValue()> 0 ?$V{NEGE_LT_AND_COUNTLATE}: Double.valueOf("0.00")]]></variableExpression> </variable> <variable name="DATEDDMMYYYY" class="java.lang.String" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[new CscCalendar($F{ttime_current1__dateid}).getDDMMYYYY()]]></variableExpression> </variable> <variable name="CACHE_INT_NUM" class="java.lang.Integer" resetType="Report" calculation="Nothing"> <variableExpression><![CDATA[Integer.valueOf($P{NUMLATE})]]></variableExpression> </variable> <variable name="NEGE_LT_AND_COUNTLATE_DETAIL" class="java.lang.Double" resetType="Column" calculation="Nothing"> <variableExpression><![CDATA[Double.valueOf($V{CHG_LT}.doubleValue() - $V{CHG_COUNTLATE}.doubleValue())]]></variableExpression> </variable> <variable name="SUM_LT_AND_COUNTLATE_1" class="java.lang.Double" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[$V{NEGE_LT_AND_COUNTLATE}.doubleValue()> 0 ?$V{NEGE_LT_AND_COUNTLATE}: Double.valueOf("0.00")]]></variableExpression> </variable> <group name="BUGROUP" > <groupExpression><![CDATA[$P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.branch") ? $F{ttime_current1__branch} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu1") ? $F{ttime_current1__bu1}+$F{ttime_current1__branch} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu2") ? $F{ttime_current1__bu2}+$F{ttime_current1__bu1}+$F{ttime_current1__branch} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu3") ? $F{ttime_current1__bu3}+$F{ttime_current1__bu2}+$F{ttime_current1__bu1}+$F{ttime_current1__branch} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu4") ? $F{ttime_current1__bu4}+$F{ttime_current1__bu3}+$F{ttime_current1__bu2}+$F{ttime_current1__bu1}+$F{ttime_current1__branch} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu5") ? $F{ttime_current1__bu5}+$F{ttime_current1__bu4}+$F{ttime_current1__bu3}+$F{ttime_current1__bu2}+$F{ttime_current1__bu1}+$F{ttime_current1__branch} : ""]]></groupExpression> <groupHeader> <band height="16" isSplitAllowed="true" > <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="842" height="16" forecolor="#000000" backcolor="#FFFFFF" key="textField-33"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("THA") ? $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.branch") ? $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu1") ? $F{ttime_current1__bu1} + " : " + $F{mbu1__tdesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu2") ? $F{ttime_current1__bu2} + " : " + $F{mbu2__tdesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__tdesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu3") ? $F{ttime_current1__bu3} + " : " + $F{mbu3__tdesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__tdesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__tdesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu4") ? $F{ttime_current1__bu4} + " : " + $F{mbu4__tdesc} + ", " + $F{ttime_current1__bu3} + " : " + $F{mbu3__tdesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__tdesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__tdesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu5") ? $F{ttime_current1__bu5} + " : " + $F{mbu5__tdesc} + ", " + $F{ttime_current1__bu4} + " : " + $F{mbu4__tdesc} + ", " + $F{ttime_current1__bu3} + " : " + $F{mbu3__tdesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__tdesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__tdesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__tdesc} : "" : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.branch") ? $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu1") ? $F{ttime_current1__bu1} + " : " + $F{mbu1__edesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu2") ? $F{ttime_current1__bu2} + " : " + $F{mbu2__edesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__edesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu3") ? $F{ttime_current1__bu3} + " : " + $F{mbu3__edesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__edesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__edesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu4") ? $F{ttime_current1__bu4} + " : " + $F{mbu4__edesc} + ", " + $F{ttime_current1__bu3} + " : " + $F{mbu3__edesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__edesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__edesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : $P{GROUPBY}.equalsIgnoreCase("TTIME_CURRENT1.bu5") ? $F{ttime_current1__bu5} + " : " + $F{mbu5__edesc} + ", " + $F{ttime_current1__bu4} + " : " + $F{mbu4__edesc} + ", " + $F{ttime_current1__bu3} + " : " + $F{mbu3__edesc} + ", " + $F{ttime_current1__bu2} + " : " + $F{mbu2__edesc} + ", " + $F{ttime_current1__bu1} + " : " + $F{mbu1__edesc} + ", " + $F{ttime_current1__branch} + " : " + $F{mbranch__edesc} : ""]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <group name="TCURRENT" isReprintHeaderOnEachPage="true" > <groupExpression><![CDATA[$F{ttime_current1__employeeid}]]></groupExpression> <groupHeader> <band height="64" isSplitAllowed="true" > <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="198" y="50" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Shift In":"วัน-เวลาเข้า"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="298" y="50" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Shift Out":"วัน-เวลาออก"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="36" width="26" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "No.":"ลำดับ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="36" width="64" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Day Type":"ประเภทวัน"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="142" y="36" width="56" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Shift":"กะ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="638" y="36" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Late":"สาย"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="598" y="36" width="40" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["#"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="398" y="50" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Punch In":"วัน-เวลาเข้า"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="498" y="50" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Punch Out":"วัน-เวลาออก"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="198" y="36" width="200" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Shift":"กะการทำงาน"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="398" y="36" width="200" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Punch In/Out":"ข้อมูลการลงเวลา"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="682" y="36" width="160" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-3"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="4" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Remark":"หมายเหตุ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="26" y="36" width="52" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-5"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Date":"วันที่"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="78" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-6"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Name:":"ชื่อ-นามสกุล"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="0" width="320" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-7"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__employeeid}+" "+$F{memployee__fullname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="398" y="0" width="200" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-8"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Position":"ตำแหน่ง"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="598" y="0" width="244" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-9"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $F{mposition__tdesc}: $F{mposition__edesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="14" width="78" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-10"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{BU1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="14" width="320" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-11"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $F{mbu1__tdesc}+$P{lang}: $F{mbu1__edesc}+$P{lang}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="398" y="14" width="200" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-12"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{BU2}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="598" y="14" width="244" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-13"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $F{mbu2__tdesc}: $F{mbu2__edesc}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="42" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="598" y="0" width="40" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "Total":"รวม"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="638" y="0" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-19"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat(new com.csc.library.report.ReportUDF().getMin2Time(String.valueOf($V{SUMLT})),"0.00")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="682" y="0" width="160" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-20"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="4" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? "More than " + $P{COUNTLATE} + " hours. \nand "+ $P{NUMLATE} +" times. \ntotal " + new com.csc.library.report.ReportUDF().getMin2Time($V{SUM_LT_AND_COUNTLATE_1})+ " hours." :"สายมากกว่า " + $P{COUNTLATE} + " ช.ม. \nและสายเกินกว่า "+ $P{NUMLATE} +" ครั้ง \nรวมเป็น " + new com.csc.library.report.ReportUDF().getMin2Time($V{SUM_LT_AND_COUNTLATE_1})+ " ช.ม"]]></textFieldExpression> </textField> </band> </groupFooter> </group> <group name="TCURRENT1" > <groupExpression><![CDATA[$F{ttime_current1__dateid}]]></groupExpression> <groupHeader> <band height="0" isSplitAllowed="true" > </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="82" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue()==1)]]></printWhenExpression> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="842" height="28" forecolor="#000000" backcolor="#FFFFFF" key="textField-23"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="24" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="790" y="46" width="52" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-24"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{RUN_NO}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="46" width="662" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-25"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{DATETHAI}:$P{DATEENG}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="64" width="662" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-26"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? $P{ACTORNAME}:$P{ACTORNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="46" width="78" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-27"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "วันที่พิมพ์ : ":"Print date : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="64" width="78" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-28"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "พิมพ์โดย : ":"Print by : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="740" y="46" width="50" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-29"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "อ้างอิง # ":"REF # "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="28" width="764" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-31"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รายงานการเข้างานสาย":"Late Arrival Report"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="28" width="78" height="18" forecolor="#000000" backcolor="#FFFFFF" key="textField-32"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isBold="true" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "รายงาน : ":"Report Name : "]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="740" y="64" width="102" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-34"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="14" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("tha")? "หน่วย : ชั่วโมง.นาที":"Unit : HH.MM"]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="0" isSplitAllowed="true" > </band> </columnHeader> <detail> <band height="14" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean( !( (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_bg})).doubleValue()==0) && (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_en})).doubleValue()==0) && (Double.valueOf(new CheckNull().chkNullStringToDouble($F{ttime_current1__hour_d})).doubleValue()==0) ) ||($F{ttime_current1__doctype}.equalsIgnoreCase("A")) )]]></printWhenExpression> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="298" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new CscCalendar($F{ttime_current1__c_dt_en}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="348" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__c_tm_en},"00.00")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="198" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new CscCalendar($F{ttime_current1__c_dt_bg}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="248" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__c_tm_bg},"00.00")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="26" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[String.valueOf($V{count})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="78" y="0" width="64" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__eventgrp}.equals("J") && !$F{ttime_current1__warn05}.equals("") ? "Early" : $F{meventgrp__edesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="142" y="0" width="56" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__time0id}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="598" y="0" width="40" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.Integer"><![CDATA[$V{COUNT_EMPLOYEEID}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="682" y="0" width="160" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="4" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{LANG}.equalsIgnoreCase("ENG")? ($V{COUNT_EMPLOYEEID}.intValue()>$V{CACHE_INT_NUM}.intValue())?"More than "+ $P{NUMLATE}+" times." :$V{CHG_LT}.doubleValue()>$V{CHG_COUNTLATE}.doubleValue()? "Late over " +$P{COUNTLATE} + " hours, for " + new com.csc.library.report.ReportUDF().getMin2Time($V{NEGE_LT_AND_COUNTLATE_DETAIL}) + " hours." :"Less than " +$P{COUNTLATE} + " hours." :($V{COUNT_EMPLOYEEID}.intValue()>$V{CACHE_INT_NUM}.intValue())?"สายมากกว่า "+ $P{NUMLATE}+" ครั้ง" :$V{CHG_LT}.doubleValue()>$V{CHG_COUNTLATE}.doubleValue()? "สายเกิน " + $P{COUNTLATE} + " ช.ม. เป็นเวลา " + new com.csc.library.report.ReportUDF().getMin2Time($V{NEGE_LT_AND_COUNTLATE_DETAIL}) + " ช.ม." :"สายไม่เกิน " +$P{COUNTLATE} + " ช.ม."]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="498" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new CscCalendar($F{ttime_current1__m_dt_en}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="548" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[($F{ttime_current1__forget_out}.equals("1"))?"__-__":(new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__m_tm_en},"00.00"))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="398" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new CscCalendar($F{ttime_current1__m_dt_bg}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="448" y="0" width="50" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[($F{ttime_current1__forget_in}.equals("1"))?"__-__":(new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__m_tm_bg},"00.00"))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="638" y="0" width="44" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-15"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.report.ReportUDF().getDoubleFormat($F{ttime_current1__lt},"0.00")]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="26" y="0" width="52" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-17"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{DATEDDMMYYYY}]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport>