<?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="TAR11091" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="535" columnSpacing="0" leftMargin="30" rightMargin="30" topMargin="20" bottomMargin="20" 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="ttime_current1__warn00" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn00]]></fieldDescription> </field> <field name="ttime_current1__warn01" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn01]]></fieldDescription> </field> <field name="ttime_current1__warn02" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn02]]></fieldDescription> </field> <field name="ttime_current1__warn03" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn03]]></fieldDescription> </field> <field name="ttime_current1__warn04" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn04]]></fieldDescription> </field> <field name="ttime_current1__warn05" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn05]]></fieldDescription> </field> <field name="ttime_current1__warn06" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn06]]></fieldDescription> </field> <field name="ttime_current1__warn07" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn07]]></fieldDescription> </field> <field name="ttime_current1__warn08" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn08]]></fieldDescription> </field> <field name="ttime_current1__warn09" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn09]]></fieldDescription> </field> <field name="ttime_current1__warn10" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn10]]></fieldDescription> </field> <field name="ttime_current1__warn11" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn11]]></fieldDescription> </field> <field name="ttime_current1__warn12" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn12]]></fieldDescription> </field> <field name="ttime_current1__warn13" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn13]]></fieldDescription> </field> <field name="ttime_current1__warn14" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn14]]></fieldDescription> </field> <field name="ttime_current1__warn15" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__warn15]]></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__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="memployee__status" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__status]]></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="orderby1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby1]]></fieldDescription> </field> <field name="orderby1desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby1desc]]></fieldDescription> </field> <field name="orderby2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby2]]></fieldDescription> </field> <field name="orderby2desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby2desc]]></fieldDescription> </field> <field name="orderby3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby3]]></fieldDescription> </field> <field name="orderby3desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby3desc]]></fieldDescription> </field> <field name="orderby4" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby4]]></fieldDescription> </field> <field name="orderby4desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby4desc]]></fieldDescription> </field> <field name="orderby5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby5]]></fieldDescription> </field> <field name="orderby5desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby5desc]]></fieldDescription> </field> <field name="orderby6" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby6]]></fieldDescription> </field> <field name="orderby6desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby6desc]]></fieldDescription> </field> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></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="Column" 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" > <printWhenExpression><![CDATA[new Boolean(!$P{GROUPBY}.equalsIgnoreCase("") && !$P{GROUPBY}.equalsIgnoreCase("0"))]]></printWhenExpression> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="782" height="14" 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" isStartNewPage="true" isReprintHeaderOnEachPage="true" > <groupExpression><![CDATA[$F{ttime_current1__employeeid}]]></groupExpression> <groupHeader> <band height="79" isSplitAllowed="true" > <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="35" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="202" y="52" width="81" height="26" 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="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="288" y="52" width="84" height="26" 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="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="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")? "No.":"ลำดับ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="91" y="36" width="63" 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="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="154" y="36" width="45" 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="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="583" y="36" width="33" 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="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="560" y="36" width="29" 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="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="381" y="52" width="81" height="26" 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="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="468" y="52" width="82" height="26" 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="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> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="33" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="202" y="36" width="170" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-1"/> <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="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="381" y="36" width="169" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-2"/> <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="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="630" y="36" width="152" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-3"/> <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")? "Remark":"หมายเหตุ"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="27" y="36" width="63" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-5"/> <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")? "Date":"วันที่"]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement mode="Opaque" x="203" y="51" width="170" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line-1"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="382" y="51" width="170" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line-2"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="2" width="69" 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="76" y="2" width="250" 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="366" y="2" width="85" 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="452" y="2" width="250" 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="17" width="69" 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="76" y="17" width="250" 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="366" y="17" width="85" 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="452" y="17" width="250" 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> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="76" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line-3"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="78" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line-4"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> </band> </groupHeader> <groupFooter> <band height="50" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="561" y="4" width="29" 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> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="46" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="1" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="3" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <line direction="TopDown"> <reportElement mode="Opaque" x="0" y="48" width="782" height="1" forecolor="#000000" backcolor="#FFFFFF" key="line"/> <graphicElement stretchType="NoStretch" pen="Thin" fill="Solid" /> </line> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="584" y="4" width="33" 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="629" y="4" width="153" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-20"/> <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")? "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="87" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="728" y="44" width="20" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" 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[$V{PAGE_NUMBER} + ""]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="750" y="44" width="27" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-22"/> <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["/ " + $V{PAGE_NUMBER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="383" height="27" 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="728" y="27" width="52" height="17" 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="75" y="44" width="329" height="17" 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="75" y="61" width="329" height="17" 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="44" width="69" height="17" 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="61" width="69" height="17" 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="681" y="27" width="45" height="17" 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="681" y="44" width="45" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-30"/> <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")? "หน้า":"Page"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="75" y="27" width="329" height="17" 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{REPORTHEADER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="27" width="69" height="17" 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="681" y="61" width="96" 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="288" y="0" width="45" 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="334" y="0" width="38" 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="202" y="0" width="45" 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="35" 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="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[String.valueOf($V{count})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="91" y="0" width="63" 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="154" y="0" width="45" 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="561" y="0" width="29" 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="629" y="0" width="153" 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")? ($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="468" y="0" width="45" 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="514" y="0" width="36" 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="381" y="0" width="45" 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="427" y="0" width="35" 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="584" y="0" width="33" 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="27" y="0" width="63" 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>