'FN' ),0) as clrdep_amt, nvl(( select sum(item_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slipitemtype_code = 'PKN' ),0) as clrins_amt, ( select sum(item_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slipitemtype_code = 'BJN' ) as clrbrij_amt, ( select sum(item_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slipitemtype_code = 'INF' ) as clrbinf_amt, ( select sum(item_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slipitemtype_code in( 'VAT','MFE', 'EMS', 'ONL', 'MTR' ) ) as clrmoneyorder_amt, ( select sum(item_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slipitemtype_code in( 'BFE','BTR' ) ) as clrmoneybank_amt, ( select sum(interest_payamt) from slslippayindet where slslippayindet.payinslip_no = slslippayout.slipclear_no and slslippayout.slip_status <> -9 ) as interest_amt, (select sum(intestimate_amt) from lnreqloan where lnreqloan.loancontract_no=slslippayout.loancontract_no and slslippayout.slip_status <> -9 and lnreqloan.loanrequest_status<>-9 )as intestimate_amt, (select period_payment from lncontmaster where lncontmaster.loancontract_no=slslippayout.loancontract_no and slslippayout.slip_status <> -9 and lncontmaster.contract_status<>-1 )as period_payment, (select period_payamt from lncontmaster where lncontmaster.loancontract_no=slslippayout.loancontract_no and slslippayout.slip_status <> -9 and lncontmaster.contract_status<>-1 )as period_payamt, slslippayout .payoutnet_amt, cmucfmoneytype.moneytype_desc, slslippayout .entry_id,slslippayout .operate_date, slslippayout.shrlontype_code, slslippayout.moneytype_code, slslippayout.expense_bank, lnloantype.loangroup_code,lnloantype.loantype_desc from slslippayout ,mbmembmaster,mbucfmembgroup,mbucfprename,cmucfmoneytype,lnloantype where slslippayout.member_no =mbmembmaster.member_no and slslippayout.memcoop_id =mbmembmaster.coop_id and slslippayout.shrlontype_code =lnloantype.loantype_code and slslippayout.coop_id =lnloantype.coop_id and mbmembmaster.membgroup_code =mbucfmembgroup.membgroup_code and mbmembmaster.coop_id = mbucfmembgroup.coop_id and mbmembmaster.prename_code =mbucfprename.prename_code and slslippayout.moneytype_code = cmucfmoneytype.moneytype_code (+) and slslippayout.slip_date between $P{adtm_start} and $P{adtm_end} and slslippayout.slip_status <>-9 and slslippayout.rcv_period <= 1 and slslippayout.shrlontype_code between $P{as_startlntype} and $P{as_endlntype} and slslippayout.sliptype_code ='LWD' order by slslippayout .loancontract_no asc]]> <band height="83" splitType="Stretch"> <staticText> <reportElement uuid="6cb4d1b7-91a3-40d6-9fe1-c7cf1be9aef7" x="0" y="59" width="63" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[เลขที่สมาชิก]]></text> </staticText> <staticText> <reportElement uuid="565acf3c-eee3-4e5c-b85b-51d662687f4a" x="63" y="59" width="100" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ชื่อ สกุล]]></text> </staticText> <staticText> <reportElement uuid="a53c3f83-6055-4495-ba7a-036d555dfc70" x="163" y="59" width="48" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[หน่วย]]></text> </staticText> <staticText> <reportElement uuid="16008eb7-86ed-4ec0-88b7-e56824f1b4fd" x="211" y="59" width="79" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[หน่วย]]></text> </staticText> <staticText> <reportElement uuid="d261cb97-47f4-4c36-a3f2-11fb3c1e7d9f" x="290" y="59" width="29" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[เงินกู้]]></text> </staticText> <staticText> <reportElement uuid="f7c32ec6-8b52-4187-8ea8-e144d10f849a" x="319" y="59" width="53" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[เลขที่สัญญา]]></text> </staticText> <staticText> <reportElement uuid="057034a8-a13a-43bb-98b9-858c8a81925f" x="372" y="59" width="48" height="20"/> <textElement textAlignment="Right"> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ยอดขอกู้]]></text> </staticText> <staticText> <reportElement uuid="646a6d0b-6c3e-4d05-8579-1c06123ab6cd" x="763" y="59" width="50" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[หักซื้อหุ้น]]></text> </staticText> <staticText> <reportElement uuid="abd8424d-a068-4225-9c36-5b90bfe49d62" x="813" y="59" width="55" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[หักเข้าฝาก]]></text> </staticText> <staticText> <reportElement uuid="8c7ebc16-404f-4744-b044-8d7df4fd1e77" x="868" y="59" width="61" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[หักประกัน]]></text> </staticText> <staticText> <reportElement uuid="48958e89-9f71-4751-890f-60b0bcc837ab" x="929" y="59" width="69" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ยอดรับสุทธิ]]></text> </staticText> <staticText> <reportElement uuid="a7b5a9a8-35fc-4708-9720-e893e875e2d2" x="0" y="0" width="555" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[รายงานจ่ายเงินกู้]]></text> </staticText> <textField> <reportElement uuid="5d529672-28d7-4431-b529-fd82d6f354f1" x="163" y="20" width="107" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy",new Locale("th","TH")).format( $P{adtm_start})]]></textFieldExpression> </textField> <staticText> <reportElement uuid="1efd0d8e-188b-4a29-8dde-61f7a2102e2c" x="63" y="20" width="100" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ตั้งแต่วันที่]]></text> </staticText> <staticText> <reportElement uuid="bb9b3f3c-5f88-4330-8325-fd51411c5662" x="270" y="20" width="72" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ถึงวันที่]]></text> </staticText> <textField> <reportElement uuid="c16210ca-619b-4200-9690-8910b20f0962" x="342" y="20" width="78" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <textFieldExpression><![CDATA[new SimpleDateFormat("dd/MM/yyyy",new Locale("th","TH")).format( $P{adtm_end})]]></textFieldExpression> </textField> <staticText> <reportElement uuid="6d28b65d-6923-4d39-9da5-764ea2bd85a3" x="998" y="59" width="69" height="20"/> <textElement> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[วันที่กู้]]></text> </staticText> <staticText> <reportElement uuid="9255982b-05c0-4341-a31a-b11ecb78532a" x="420" y="59" width="63" height="20"/> <textElement textAlignment="Right"> <font fontName="Angsana New" size="14"/> </textElement> <text><![CDATA[ชำระ/งวดใหม่]]></text> </staticText> <staticText> <reportElement uuid="bef04e75-c17f-4ef5-a33a-2fda77236367" x="695" y="59" width="68" height="20"/> <textElement/> <text><![CDATA[ชำระดบ.]]></text> </staticText> <staticText> <reportElement uuid="a05812b7-b61e-41c1-afaf-24782c11ec9a" x="548" y="59" width="76" height="20"/> <textElement/> <text><![CDATA[สัญญาเงินกู้เดิม]]></text> </staticText> <staticText> <reportElement uuid="985c16b9-4cdf-4664-870d-eefc1697e4ee" x="483" y="59" width="65" height="20"/> <textElement/> <text><![CDATA[ชำระ/งวดเดิม]]></text> </staticText> <staticText> <reportElement uuid="da567331-a6a2-40ab-b2dd-c3aaa48193d7" x="627" y="59" width="68" height="20"/> <textElement/> <text><![CDATA[ชำระเงินต้น]]></text> </staticText> </band>