<?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="WELR02_31CPN" columnCount="1" printOrder="Vertical" orientation="Landscape" pageWidth="842" pageHeight="595" columnWidth="786" columnSpacing="0" leftMargin="28" rightMargin="28" topMargin="28" bottomMargin="28" 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="HEADER_RECEIVEDATE" isForPrompting="false" class="java.lang.String"/> <parameter name="PERIOD_DATE" isForPrompting="false" class="java.lang.String"/> <parameter name="ENDPERIOD_DATE" isForPrompting="false" class="java.lang.String"/> <parameter name="COMID" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[component]]></parameterDescription> </parameter> <parameter name="COMPANY" isForPrompting="false" class="java.lang.String"> <parameterDescription><![CDATA[label]]></parameterDescription> <defaultValueExpression ><![CDATA["Company"]]></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__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__bu5" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__bu5]]></fieldDescription> </field> <field name="memployee__salatype" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by memployee__salatype]]></fieldDescription> </field> <field name="mwelpayment_test__paymentid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__paymentid]]></fieldDescription> </field> <field name="mwelpayment_test__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__companyid]]></fieldDescription> </field> <field name="mwelpayment_test__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__employeeid]]></fieldDescription> </field> <field name="mwelpayment_test__for_job" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__for_job]]></fieldDescription> </field> <field name="mwelpayment_test__receivedate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__receivedate]]></fieldDescription> </field> <field name="mwelpayment_test__wf_ref_doc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__wf_ref_doc]]></fieldDescription> </field> <field name="mwelpayment_test__create_date" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__create_date]]></fieldDescription> </field> <field name="mwelpayment_test__receiver" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__receiver]]></fieldDescription> </field> <field name="mwelpayment_test__startdate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__startdate]]></fieldDescription> </field> <field name="mwelpayment_test__enddate" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__enddate]]></fieldDescription> </field> <field name="mwelpayment_test__amount" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__amount]]></fieldDescription> </field> <field name="mwelpayment_test__status_clr" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__status_clr]]></fieldDescription> </field> <field name="clear_advance__clear_advanceid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__clear_advanceid]]></fieldDescription> </field> <field name="clear_advance__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__companyid]]></fieldDescription> </field> <field name="clear_advance__paymentid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__paymentid]]></fieldDescription> </field> <field name="clear_advance__travelerid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__travelerid]]></fieldDescription> </field> <field name="clear_advance__branchid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__branchid]]></fieldDescription> </field> <field name="clear_advance__emp_clear_advance" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__emp_clear_advance]]></fieldDescription> </field> <field name="clear_advance__employeeid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__employeeid]]></fieldDescription> </field> <field name="clear_advance__sumexpense" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__sumexpense]]></fieldDescription> </field> <field name="clear_advance__amount_return_system" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__amount_return_system]]></fieldDescription> </field> <field name="clear_advance__system_return_amount" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__system_return_amount]]></fieldDescription> </field> <field name="clear_advance__sum_advanced" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__sum_advanced]]></fieldDescription> </field> <field name="clear_advance__clear_advance_reason" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__clear_advance_reason]]></fieldDescription> </field> <field name="clear_advance__wf_ref_doc" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__wf_ref_doc]]></fieldDescription> </field> <field name="mbu5__bu5id" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__bu5id]]></fieldDescription> </field> <field name="mbu5__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mbu5__companyid]]></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="mcompany__companyid" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__companyid]]></fieldDescription> </field> <field name="mcompany__tname" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__tname]]></fieldDescription> </field> <field name="mcompany__ename" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mcompany__ename]]></fieldDescription> </field> <field name="clear_advance__create_date" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by clear_advance__create_date]]></fieldDescription> </field> <field name="mwelpayment_test__trav_reason" class="java.lang.String"> <fieldDescription><![CDATA[Field returned by mwelpayment_test__trav_reason]]></fieldDescription> </field> <variable name="total_1" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf( new CheckNull().chkNullString($F{clear_advance__sumexpense}, "0").replace(",", "") )]]></variableExpression> <initialValueExpression><![CDATA[Double.valueOf("0")]]></initialValueExpression> </variable> <variable name="total_2" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf( new CheckNull().chkNullString($F{clear_advance__amount_return_system}, "0").replace(",", "") )]]></variableExpression> <initialValueExpression><![CDATA[new Double("0")]]></initialValueExpression> </variable> <variable name="total_3" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf( new CheckNull().chkNullString($F{clear_advance__system_return_amount}, "0").replace(",", "") )]]></variableExpression> <initialValueExpression><![CDATA[new Double("0")]]></initialValueExpression> </variable> <variable name="NetTotal" class="java.lang.Double" resetType="Report" calculation="Sum"> <variableExpression><![CDATA[Double.valueOf( new CheckNull().chkNullString($F{mwelpayment_test__amount}, "0").replace(",", "") )]]></variableExpression> <initialValueExpression><![CDATA[Double.valueOf("0.00")]]></initialValueExpression> </variable> <background> <band height="0" isSplitAllowed="true" > </band> </background> <title> <band height="0" isSplitAllowed="false" > </band> </title> <pageHeader> <band height="66" isSplitAllowed="true" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="736" y="23" width="50" height="20" key="textField-1"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.utilities.CscCalendar().getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="766" y="2" width="20" height="20" key="textField-14"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[String.valueOf($V{PAGE_NUMBER})]]></textFieldExpression> </textField> <staticText> <reportElement x="743" y="2" width="21" height="20" key="staticText-28"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="12" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[หน้า :]]></text> </staticText> <staticText> <reportElement x="306" y="40" width="50" height="20" key="staticText-3"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[ระหว่างวันที่]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="356" y="40" width="50" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{PERIOD_DATE}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="424" y="40" width="50" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{ENDPERIOD_DATE}]]></textFieldExpression> </textField> <staticText> <reportElement x="405" y="40" width="20" height="20" key="staticText-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="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[ถึง]]></text> </staticText> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="373" y="21" width="74" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{COMID}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="252" y="1" width="292" height="20" key="textField-11"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA["รายงาน การเบิก - เคลียร์ (ตามวันที่เคลียร์)"]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement x="340" y="21" width="74" height="20" key="textField-15"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIAB.TTF" size="14" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$P{COMPANY}]]></textFieldExpression> </textField> </band> </pageHeader> <columnHeader> <band height="40" isSplitAllowed="false" > <staticText> <reportElement mode="Opaque" x="70" y="0" width="100" height="40" backcolor="#CCCCCC" key="staticText-6"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Employee Name]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="398" y="11" width="0" height="1" backcolor="#CCCCCC" key="staticText-7"/> <box topBorder="None" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement verticalAlignment="Top"> <font/> </textElement> <text><![CDATA[Static Text]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="170" y="0" width="122" height="40" backcolor="#CCCCCC" key="staticText-8"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[แผนก]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="342" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-9"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[วันที่เบิก]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="631" y="0" width="155" height="40" backcolor="#CCCCCC" key="staticText-13"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Description]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="382" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-17"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Amount]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="292" y="20" width="50" height="20" backcolor="#CCCCCC" key="staticText-18"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Document No.]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="422" y="20" width="50" height="20" backcolor="#CCCCCC" key="staticText-19"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Document No.]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="471" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-20"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[วันที่เคลียร์]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="292" y="0" width="130" height="20" backcolor="#CCCCCC" key="staticText-22"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[การเบิก]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="511" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-23"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Amount]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="551" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-24"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[เงินคืน]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="422" y="0" width="209" height="20" backcolor="#CCCCCC" key="staticText-25"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="None" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[การเคลียร์]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="0" width="70" height="40" backcolor="#CCCCCC" key="staticText-26"/> <box topBorder="Thin" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Employee No]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="591" y="20" width="40" height="20" backcolor="#CCCCCC" key="staticText-27"/> <box topBorder="Thin" topBorderColor="#000000" topPadding="7" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[เบิกเพิ่ม]]></text> </staticText> </band> </columnHeader> <detail> <band height="19" isSplitAllowed="false" > <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="0" y="-6" width="70" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mwelpayment_test__employeeid}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="70" y="-6" width="100" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mwelpayment_test__receiver}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="342" y="-6" width="40" height="20" backcolor="#CCCCCC" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.utilities.CscCalendar($F{mwelpayment_test__create_date}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="292" y="-6" width="50" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mwelpayment_test__wf_ref_doc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="382" y="-6" width="40" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[Double.valueOf(new com.csc.library.utilities.CheckNull().chkNullString($F{mwelpayment_test__amount},"0"))]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="170" y="-6" width="122" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mbu5__tdesc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="631" y="-6" width="155" height="20" key="textField"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Left" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{mwelpayment_test__trav_reason}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="422" y="-6" width="50" height="20" key="textField-3"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" leftPadding="2" rightBorder="None" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{clear_advance__wf_ref_doc}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="471" y="-6" width="40" height="20" backcolor="#CCCCCC" key="textField-4"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[new com.csc.library.utilities.CscCalendar($F{clear_advance__create_date}).getDDMMYYYY()]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="511" y="-6" width="40" height="20" key="textField-5"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[$F{clear_advance__sumexpense}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="551" y="-6" width="40" height="20" key="textField-7"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[String.valueOf($F{clear_advance__amount_return_system})]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Now" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="591" y="-6" width="40" height="20" key="textField-12"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.String"><![CDATA[String.valueOf($F{clear_advance__system_return_amount})]]></textFieldExpression> </textField> </band> </detail> <columnFooter> <band height="0" isSplitAllowed="true" > </band> </columnFooter> <pageFooter> <band height="0" isSplitAllowed="true" > </band> </pageFooter> <summary> <band height="23" isSplitAllowed="true" > <staticText> <reportElement mode="Transparent" x="342" y="-6" width="40" height="20" key="staticText-16"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Total]]></text> </staticText> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="382" y="-6" width="40" height="20" key="textField-2"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{NetTotal}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Transparent" x="471" y="-6" width="40" height="20" key="staticText-21"/> <box topBorder="None" topBorderColor="#000000" leftBorder="Thin" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Center" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <text><![CDATA[Total]]></text> </staticText> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="551" y="-6" width="40" height="20" key="textField-8"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{total_2}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="511" y="-6" width="40" height="20" key="textField-9"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{total_1}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="false" pattern="#,##0.00" isBlankWhenNull="false" evaluationTime="Report" hyperlinkType="None" hyperlinkTarget="Self" > <reportElement mode="Transparent" x="591" y="-6" width="40" height="20" key="textField-13"/> <box topBorder="None" topBorderColor="#000000" leftBorder="None" leftBorderColor="#000000" rightBorder="Thin" rightBorderColor="#000000" rightPadding="3" bottomBorder="Thin" bottomBorderColor="#000000"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font fontName="Cordia New" pdfFontName="CORDIA.TTF" size="10" isPdfEmbedded ="true" pdfEncoding ="Identity-H"/> </textElement> <textFieldExpression class="java.lang.Double"><![CDATA[$V{total_3}]]></textFieldExpression> </textField> </band> </summary> </jasperReport>