<?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="PRR206" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="782" 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="REPORTHEADER" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="PAGE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Page"]]></defaultValueExpression> </parameter> <parameter name="CODE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Code"]]></defaultValueExpression> </parameter> <parameter name="NAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Name"]]></defaultValueExpression> </parameter> <parameter name="SURNAME" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Surname"]]></defaultValueExpression> </parameter> <parameter name="DATE__T1" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Date"]]></defaultValueExpression> </parameter> <parameter name="TOTALREVENUE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Total revenue"]]></defaultValueExpression> </parameter> <parameter name="Assessable_Income" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Assessable Income"]]></defaultValueExpression> </parameter> <parameter name="TAX" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Tax"]]></defaultValueExpression> </parameter> <parameter name="SOC" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Soc"]]></defaultValueExpression> </parameter> <parameter name="RESERVESTAFF" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Reserve staff"]]></defaultValueExpression> </parameter> <parameter name="SAVINGSCOMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Savings company"]]></defaultValueExpression> </parameter> <parameter name="Net_Income" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Net Income"]]></defaultValueExpression> </parameter> <parameter name="FORMULACODE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Formula code"]]></defaultValueExpression> </parameter> <parameter name="DETAIL" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Detail"]]></defaultValueExpression> </parameter> <parameter name="TOTALAMOUNT" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Total amount"]]></defaultValueExpression> </parameter> <parameter name="TYPE" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Type"]]></defaultValueExpression> </parameter> <parameter name="TOTAL" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Total"]]></defaultValueExpression> </parameter> <parameter name="DATA" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <parameter name="Total_Income" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Total Income"]]></defaultValueExpression> </parameter> <parameter name="Employees_Provident_Fund" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Employees Provident Fund"]]></defaultValueExpression> </parameter> <parameter name="Company_Provident_Fund" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Company Provident Fund"]]></defaultValueExpression> </parameter> <parameter name="RUN_NO" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["RPR2081"]]></defaultValueExpression> </parameter> <parameter name="LANG" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[lang]]></parameterDescription> </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="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> <defaultValueExpression ><![CDATA[""]]></defaultValueExpression> </parameter> <field name="memployee__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__employeeid]]></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__salary" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salary]]></fieldDescription> </field> <field name="memployee__fundtablem" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fundtablem]]></fieldDescription> </field> <field name="memployee__fundtablec" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fundtablec]]></fieldDescription> </field> <field name="memployee__bu1" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu1]]></fieldDescription> </field> <field name="memployee__bu2" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu2]]></fieldDescription> </field> <field name="memployee__bu3" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu3]]></fieldDescription> </field> <field name="mprefix__prefixid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__prefixid]]></fieldDescription> </field> <field name="mprefix__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__tdesc]]></fieldDescription> </field> <field name="mprefix__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mprefix__edesc]]></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="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="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="mempl_taxm__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__employeeid]]></fieldDescription> </field> <field name="mempl_taxm__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__companyid]]></fieldDescription> </field> <field name="mempl_taxm__gendate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__gendate]]></fieldDescription> </field> <field name="mempl_taxm__formulaid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__formulaid]]></fieldDescription> </field> <field name="mempl_taxm__auto_number" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__auto_number]]></fieldDescription> </field> <field name="mempl_taxm__line_no" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__line_no]]></fieldDescription> </field> <field name="mempl_taxm__amount" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__amount]]></fieldDescription> </field> <field name="mempl_taxm__formula_type" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__formula_type]]></fieldDescription> </field> <field name="mformula__formulaid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__formulaid]]></fieldDescription> </field> <field name="mformula__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__companyid]]></fieldDescription> </field> <field name="mformula__edesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__edesc]]></fieldDescription> </field> <field name="mformula__tdesc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__tdesc]]></fieldDescription> </field> <field name="mformula__formula_type" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mformula__formula_type]]></fieldDescription> </field> <field name="memployee__fullname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__fullname]]></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="mempl_taxm__tax" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mempl_taxm__employeeid]]></fieldDescription> </field> <variable name="TAX" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA["3".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> </variable> <variable name="SOC" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA["5".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> </variable> <variable name="INCOME" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA["1".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="DEDUCTION" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[("2".equalsIgnoreCase($F{mformula__formula_type}) ||"3".equalsIgnoreCase($F{mformula__formula_type}) ||"4".equalsIgnoreCase($F{mformula__formula_type}) ||"5".equalsIgnoreCase($F{mformula__formula_type}) )?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="TOTALREVENUE" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA["4".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="COMPANYREVENUE" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Nothing"> <variableExpression><![CDATA["7".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0.0)]]></initialValueExpression> </variable> <variable name="TOTAL2" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA["2".equalsIgnoreCase($F{mformula__formula_type})?new Double($F{mempl_taxm__amount}):new Double(0.0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpIncome" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("1 8 D").indexOf($F{mempl_taxm__formula_type})>=0)? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpDeduct" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("2").indexOf($F{mempl_taxm__formula_type})>=0)? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpTax" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("3 F").indexOf($F{mempl_taxm__formula_type})>=0)? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpPVF" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("4").indexOf($F{mempl_taxm__formula_type})>=0)? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpSOC" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("5").indexOf($F{mempl_taxm__formula_type})>=0)? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpIncomeCalTax" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("1 8 D").indexOf($F{mempl_taxm__formula_type})>=0&&!$F{mempl_taxm__tax}.equals("0"))? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <variable name="EmpDeductCalTax" class="java.lang.Double" resetType="Group" resetGroup="GENDATEGRP" calculation="Sum"> <variableExpression><![CDATA[(("2").indexOf($F{mempl_taxm__formula_type})>=0&&!$F{mempl_taxm__tax}.equals("0"))? Double.valueOf( new CheckNull().chkNullStringToDouble($F{mempl_taxm__amount}) ) :new Double(0)]]></variableExpression> <initialValueExpression><![CDATA[new Double(0)]]></initialValueExpression> </variable> <group name="BU1GRP" > <groupExpression><![CDATA[$F{orderby1}]]></groupExpression> <groupHeader> <band height="20" isSplitAllowed="true" > <printWhenExpression><![CDATA[new java.lang.Boolean(!$F{orderby1}.equals(""))]]></printWhenExpression> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="439" height="20" key="textField-12"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu1__tdesc} +" - "+$F{memployee__bu1}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <group name="BU2GRP" > <groupExpression><![CDATA[$F{orderby2}]]></groupExpression> <groupHeader> <band height="20" isSplitAllowed="true" > <printWhenExpression><![CDATA[new java.lang.Boolean(!$F{orderby2}.equals(""))]]></printWhenExpression> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="30" y="0" width="409" height="20" key="textField-13"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu2__tdesc} +" - "+$F{memployee__bu2}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <group name="BU3GRP" > <groupExpression><![CDATA[$F{orderby3}]]></groupExpression> <groupHeader> <band height="20" isSplitAllowed="true" > <printWhenExpression><![CDATA[new java.lang.Boolean(!$F{orderby3}.equals(""))]]></printWhenExpression> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="62" y="0" width="377" height="20" key="textField-14"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu3__tdesc} +" - "+$F{memployee__bu3}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <group name="EMPGRP" isReprintHeaderOnEachPage="true" > <groupExpression><![CDATA[$F{memployee__employeeid}]]></groupExpression> <groupHeader> <band height="0" isSplitAllowed="true" > </band> </groupHeader> <groupFooter> <band height="0" isSplitAllowed="true" > </band> </groupFooter> </group> <group name="GENDATEGRP" > <groupExpression><![CDATA[$F{mempl_taxm__gendate}]]></groupExpression> <groupHeader> <band height="40" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="62" height="20" key="textField-15" isPrintRepeatedValues="false"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__employeeid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="62" y="0" width="160" height="20" key="textField-16" isPrintRepeatedValues="false"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{memployee__fullname}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="222" y="0" width="70" height="20" key="textField-17"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mempl_taxm__gendate}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="292" y="0" width="70" height="20" key="textField-18"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[new Double( $V{EmpIncome}.doubleValue()-$V{EmpDeduct}.doubleValue() )]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="362" y="0" width="70" height="20" key="textField-19"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[new Double($V{EmpIncomeCalTax}.doubleValue()-$V{EmpDeductCalTax}.doubleValue())]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="432" y="0" width="70" height="20" key="textField-20"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{EmpTax}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="502" y="0" width="70" height="20" key="textField-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{EmpSOC}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="572" y="0" width="70" height="20" key="textField-22"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{EmpPVF}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="642" y="0" width="70" height="20" key="textField-23"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{COMPANYREVENUE}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Group" evaluationGroup="GENDATEGRP" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="712" y="0" width="70" height="20" key="textField-24"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[new Double($V{EmpIncome}.doubleValue()-$V{EmpDeduct}.doubleValue()-$V{EmpTax}.doubleValue()-$V{EmpPVF}.doubleValue()-$V{EmpSOC}.doubleValue())]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="258" y="20" width="79" height="20" key="textField-25"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{FORMULACODE}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="337" y="20" width="158" height="20" key="textField-26"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{DETAIL}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="495" y="20" width="79" height="20" key="textField-28"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TOTALAMOUNT}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="574" y="20" width="79" height="20" key="textField-29"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TYPE}]]></textFieldExpression> </textField> </band> </groupHeader> <groupFooter> <band height="27" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="337" y="0" width="158" height="20" key="textField-35"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TOTAL}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="495" y="0" width="79" height="20" key="textField-36"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000" bottomPadding="1"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[new Double($V{EmpIncome}.doubleValue()-$V{EmpDeduct}.doubleValue())]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement x="0" y="25" width="780" height="1" key="line-4"/> <graphicElement stretchType="NoStretch" pen="Dotted"/> </line> </band> </groupFooter> </group> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="true" > </band> </title> <pageHeader> <band height="85" isSplitAllowed="true" > <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="729" y="62" width="20" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-40"/> <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="751" y="62" width="27" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-41"/> <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="1" width="383" height="27" forecolor="#000000" backcolor="#FFFFFF" key="textField-42"/> <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="729" y="45" width="52" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-43"/> <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="45" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-44"/> <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="62" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-45"/> <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="45" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-46"/> <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="62" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-47"/> <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="682" y="45" width="45" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-48"/> <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="682" y="62" width="45" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-49"/> <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="28" width="329" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-50"/> <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{REPORTHEADER}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="28" width="69" height="17" forecolor="#000000" backcolor="#FFFFFF" key="textField-51"/> <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> </band> </pageHeader> <columnHeader> <band height="40" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="0" y="0" width="62" height="40" key="textField-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{CODE}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="62" y="0" width="160" height="40" key="textField-3"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{NAME}+"-"+$P{SURNAME}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="222" y="0" width="70" height="20" key="textField-4"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{DATE__T1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="292" y="0" width="70" height="20" key="textField-5"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Total_Income}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="362" y="0" width="70" height="20" key="textField-6"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Assessable_Income}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="432" y="0" width="70" height="20" key="textField-7"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{TAX}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="502" y="0" width="70" height="20" key="textField-8"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{SOC}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="572" y="0" width="70" height="20" key="textField-9"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Employees_Provident_Fund}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="642" y="0" width="70" height="20" key="textField-10"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Company_Provident_Fund}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="712" y="0" width="70" height="20" key="textField-11"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="14" isBold="true" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{Net_Income}]]></textFieldExpression> </textField> <line direction="TopDown"> <reportElement x="221" y="23" width="561" height="0" key="line-1"/> <graphicElement stretchType="NoStretch"/> </line> <line direction="TopDown"> <reportElement x="1" y="39" width="780" height="1" key="line-2"/> <graphicElement stretchType="NoStretch"/> </line> <line direction="TopDown"> <reportElement x="1" y="0" width="780" height="1" key="line-3"/> <graphicElement stretchType="NoStretch"/> </line> </band> </columnHeader> <detail> <band height="20" isSplitAllowed="false" > <printWhenExpression><![CDATA[new Boolean("1".equals($F{mempl_taxm__formula_type}) ||"2".equals($F{mempl_taxm__formula_type}) )]]></printWhenExpression> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="278" y="0" width="59" height="20" key="textField-30"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mempl_taxm__formulaid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="357" y="0" width="138" height="20" key="textField-31"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Left"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mformula__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="true" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="495" y="0" width="79" height="20" key="textField-33"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[new Double($F{mempl_taxm__amount})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="574" y="0" width="79" height="20" key="textField-34"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[("1".equals($F{mformula__formula_type}))?"+":"-"]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <lastPageFooter> <band height="20" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="1" y="0" width="780" height="20" key="textField-39"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right"> <font fontName="CordiaUPC" pdfFontName="CORDIAU.TTF" size="12" isBold="false" isItalic="false" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["เงื่อนไขในการพิมพ์ : "+$P{DATA}]]></textFieldExpression> </textField> </band> </lastPageFooter> <summary> <band height="0" isSplitAllowed="true" > </band> </summary> </jasperReport>