<?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="TAR171_EXCEL" columnCount="1" printOrder="Vertical" orientation="Portrait" pageWidth="595" pageHeight="842" columnWidth="535" columnSpacing="0" leftMargin="0" rightMargin="0" topMargin="0" bottomMargin="0" whenNoDataType="NoPages" isTitleNewPage="false" isSummaryNewPage="false"> <property name="ireport.scriptlethandling" value="0" /> <property name="ireport.encoding" value="UTF-8" /> <import value="java.util.*" /> <import value="net.sf.jasperreports.engine.*" /> <import value="net.sf.jasperreports.engine.data.*" /> <parameter name="TOTAL" isForPrompting="true" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TOTAL"]]></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="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="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="TIME" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TIME"]]></defaultValueExpression> </parameter> <parameter name="DATE__T1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Date"]]></defaultValueExpression> </parameter> <parameter name="VPAGE" isForPrompting="false" class="java.lang.String"> <defaultValueExpression ><![CDATA["TAR1112"]]></defaultValueExpression> </parameter> <parameter name="lang" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> <defaultValueExpression ><![CDATA["lang"]]></defaultValueExpression> </parameter> <parameter name="NAMESURNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["NAME SURNAME"]]></defaultValueExpression> </parameter> <parameter name="TIMES" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["TIMES"]]></defaultValueExpression> </parameter> <parameter name="HOURS" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["HOURS"]]></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="STARTDAY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["STARTDAY"]]></defaultValueExpression> </parameter> <parameter name="CODE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["CODE"]]></defaultValueExpression> </parameter> <parameter name="LIMIT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["LIMIT"]]></defaultValueExpression> </parameter> <parameter name="USED" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["USED"]]></defaultValueExpression> </parameter> <parameter name="REMAIN" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["REMAIN"]]></defaultValueExpression> </parameter> <parameter name="SHIFT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Shift"]]></defaultValueExpression> </parameter> <parameter name="DATE_TIME_IN" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Time In"]]></defaultValueExpression> </parameter> <parameter name="DATE_TIME_OUT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Time Out"]]></defaultValueExpression> </parameter> <parameter name="ERROR" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Discrepancy"]]></defaultValueExpression> </parameter> <parameter name="DAY_TYPE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["DAY TYPE"]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RTA3015"]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="DATETHAI" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="DATEENG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="ACTORNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </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__salatype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__salatype]]></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__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="ttime_current1__source_in" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__source_in]]></fieldDescription> </field> <field name="ttime_current1__source_out" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by ttime_current1__source_out]]></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="memployee__salatype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salatype]]></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="meventgrp__tsdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__tsdesc]]></fieldDescription> </field> <field name="meventgrp__esdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by meventgrp__esdesc]]></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="orderby7" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby7]]></fieldDescription> </field> <field name="orderby7desc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by orderby7desc]]></fieldDescription> </field> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></fieldDescription> </field> <variable name="COUNT_BRANCH" class="java.lang.Integer" resetType="Group" incrementType="Group" incrementGroup="TCURRENT" resetGroup="branch" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU1" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU2" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU3" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU4" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_BU5" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="COUNT_MGROUP" class="java.lang.Integer" resetType="Report" incrementType="Group" incrementGroup="TCURRENT" calculation="Count"> <variableExpression><![CDATA[$F{memployee__employeeid}]]></variableExpression> </variable> <variable name="SUM_WARN00" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( !$F{ttime_current1__warn00}.equals("")?"1":"0" )]]></variableExpression> </variable> <variable name="SUM_WARN01" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( !$F{ttime_current1__warn01}.equals("")?"1":"0" )]]></variableExpression> </variable> <variable name="SUM_WARN02" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__warn02}) )]]></variableExpression> </variable> <variable name="SUM_WARN03" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__warn03}) )]]></variableExpression> </variable> <variable name="SUM_WARN04" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__warn04}) )]]></variableExpression> </variable> <variable name="SUM_WARN05" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__warn05}) )]]></variableExpression> </variable> <variable name="SUM_WARN06" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( new com.csc.library.report.ReportUDF().getTime2Min($F{ttime_current1__warn06}) )]]></variableExpression> </variable> <variable name="SUM_WARN11" class="java.lang.Integer" resetType="Group" resetGroup="TCURRENT" calculation="Sum"> <variableExpression><![CDATA[Integer.valueOf( !$F{ttime_current1__warn11}.equals("")?"1":"0" )]]></variableExpression> </variable> <group name="branch" > <groupExpression><![CDATA[$P{GROUPBY}.equalsIgnoreCase("ttime_current1.branch")? $F{mbranch__branchid}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu1")? $F{mbu1__bu1id}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu2")? $F{mbu2__bu2id}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu3")? $F{mbu3__bu3id}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu4")? $F{mbu4__bu4id}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu5")? $F{mbu5__bu5id}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.emp_group")? $F{mgroup__groupid}:""]]></groupExpression> <groupHeader> <band height="14" isSplitAllowed="true" > <printWhenExpression><![CDATA[new java.lang.Boolean(!$P{GROUPBY}.equals("") && !$P{GROUPBY}.equals("0"))]]></printWhenExpression> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="595" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-1"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="3" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" 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{mbranch__branchid}+" : "+$F{mbranch__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu1")? " "+$F{mbu1__bu1id}+" : "+$F{mbu1__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu2")? " "+$F{mbu2__bu2id}+" : "+$F{mbu2__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu3")? " "+$F{mbu3__bu3id}+" : "+$F{mbu3__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu4")? " "+$F{mbu4__bu4id}+" : "+$F{mbu4__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu5")? " "+$F{mbu5__bu5id}+" : "+$F{mbu5__tdesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.emp_group")? " "+$F{mgroup__groupid}+" : "+$F{mgroup__tdesc}:"") : ($P{GROUPBY}.equalsIgnoreCase("ttime_current1.branch")? " "+$F{mbranch__branchid}+" : "+$F{mbranch__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu1")? " "+$F{mbu1__bu1id}+" : "+$F{mbu1__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu2")? " "+$F{mbu2__bu2id}+" : "+$F{mbu2__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu3")? " "+$F{mbu3__bu3id}+" : "+$F{mbu3__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu4")? " "+$F{mbu4__bu4id}+" : "+$F{mbu4__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu5")? " "+$F{mbu5__bu5id}+" : "+$F{mbu5__edesc}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.emp_group")? " "+$F{mgroup__groupid}+" : "+$F{mgroup__edesc}:"")]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="16" isSplitAllowed="true" > <printWhenExpression><![CDATA[new java.lang.Boolean(!$P{GROUPBY}.equals("") && !$P{GROUPBY}.equals("0"))]]></printWhenExpression> <textField isStretchWithOverflow="true" pattern="" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="595" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-8"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" 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")? $P{TOTAL}+" "+$F{mbranch__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu1")? $P{TOTAL}+" "+$F{mbu1__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu2")? $P{TOTAL}+" "+$F{mbu2__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu3")? $P{TOTAL}+" "+$F{mbu3__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu4")? $P{TOTAL}+" "+$F{mbu4__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu5")? $P{TOTAL}+" "+$F{mbu5__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.emp_group")? $P{TOTAL}+" "+$F{mgroup__tdesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}:"") : ($P{GROUPBY}.equalsIgnoreCase("ttime_current1.branch")? $P{TOTAL}+" "+$F{mbranch__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu1")? $P{TOTAL}+" "+$F{mbu1__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu2")? $P{TOTAL}+" "+$F{mbu2__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu3")? $P{TOTAL}+" "+$F{mbu3__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu4")? $P{TOTAL}+" "+$F{mbu4__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.bu5")? $P{TOTAL}+" "+$F{mbu5__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}: $P{GROUPBY}.equalsIgnoreCase("ttime_current1.emp_group")? $P{TOTAL}+" "+$F{mgroup__edesc}+" "+$V{COUNT_BRANCH}+" "+$P{RECORDS}:"")]]></textFieldExpression> </textField> </band> </groupFooter> </group> <group name="TCURRENT" > <groupExpression><![CDATA[$F{memployee__employeeid}]]></groupExpression> <groupHeader> <band height="14" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="595" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-34"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="20" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" 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[$F{ttime_current1__employeeid}+" "+$F{memployee__fullname}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="14" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="469" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-66"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="20" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" 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["TOTAL "+$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="469" y="0" width="126" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-80"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$V{TCURRENT_COUNT}+" "+$P{RECORDS}]]></textFieldExpression> </textField> </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="141" isSplitAllowed="true" > <printWhenExpression><![CDATA[new Boolean($V{PAGE_NUMBER}.intValue()==1)]]></printWhenExpression> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="99" width="100" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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{DATE__T1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="100" y="99" width="51" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-36"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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{SHIFT}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="151" y="99" width="129" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-37"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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("tha")? "เวลาเข้า":"Time In"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="280" y="99" width="129" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-39"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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("tha")? "เวลาออก":"Time Out"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="530" y="99" width="65" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-48"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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("tha")? "สถานะ":"Status"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="595" height="27" forecolor="#000000" backcolor="#FFFFFF" key="textField-52"/> <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="530" y="51" width="65" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-53"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="100" y="51" width="369" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-54"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="100" y="75" width="369" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-55"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="51" width="100" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-56"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="75" width="100" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-57"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="469" y="51" width="61" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-58"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="100" y="27" width="495" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-60"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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{REPORTHEADER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="27" width="100" height="24" forecolor="#000000" backcolor="#FFFFFF" key="textField-61"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle" 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="409" y="99" width="60" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-64"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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("tha")? "ลงเวลาเข้า":"Punch In"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="469" y="99" width="61" height="42" forecolor="#000000" backcolor="#FFFFFF" key="textField-65"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle" 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("tha")? "ลงเวลาออก":"Punch Out"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="469" y="75" width="126" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-81"/> <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" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="0" width="100" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-42"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.utilities.CscCalendar($F{ttime_current1__dateid}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="100" y="0" width="51" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-43"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__time0id}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="151" y="0" width="129" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-44"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[(new com.csc.library.utilities.CscCalendar($F{ttime_current1__c_dt_bg}).getDDMMYYYY()+" "+" "+" "+(new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__c_tm_bg})))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="280" y="0" width="129" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-46"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[(new com.csc.library.utilities.CscCalendar($F{ttime_current1__c_dt_en}).getDDMMYYYY()+" "+" "+" "+(new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__c_tm_en})))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="530" y="0" width="65" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-49"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[(!$F{ttime_current1__warn05}.equals("") && $F{ttime_current1__warn06}.equals(""))? ( $P{LANG}.equalsIgnoreCase("THA")?"ออกก่อนเวลา":"Early" ) : ( $P{LANG}.equalsIgnoreCase("THA")?$F{meventgrp__tsdesc}: $F{meventgrp__esdesc} )]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="409" y="0" width="60" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-62"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__eventgrp}.equals("NP")? $F{ttime_current1__forget_in}.equals("1")? "":(new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_bg})) : $F{ttime_current1__source_in}.equals("A")? "" : $F{ttime_current1__m_tm_bg}.equals("0.00")? "" : (new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_bg}))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="469" y="0" width="61" height="14" forecolor="#000000" backcolor="#FFFFFF" key="textField-63"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Top" lineSpacing="Single"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isBold="false" isItalic="false" isUnderline="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H" isStrikeThrough="false" /> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{ttime_current1__eventgrp}.equals("NP")? $F{ttime_current1__forget_out}.equals("1")? "":(new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_en})) : $F{ttime_current1__source_out}.equals("A")? "" : $F{ttime_current1__m_tm_en}.equals("0.00")? "" : (new java.text.DecimalFormat("00.00")).format(new com.csc.library.utilities.CheckNull().chkNullStringToDouble($F{ttime_current1__m_tm_en}))]]></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>