Jasper Format Aegis Web - Tax Invoice
Sample A5 -
Jasper Format (A5) -
<!-- Created with Jaspersoft Studio version 7.0.8.final using JasperReports Library version 7.0.8-6f896111 -->
<jasperReport name="aegis_invoice_A5" language="java" columnCount="1" pageWidth="420" pageHeight="595" columnWidth="380" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="1199e7de-35f8-4ec8-8763-d4e60ca71cbd">
<style name="Table_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TH_FIRST" mode="Opaque" backcolor="#F0F8FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TH_LAST" mode="Opaque" backcolor="#F0F8FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_CH_FIRST" mode="Opaque" backcolor="#BFE1FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_CH_LAST" mode="Opaque" backcolor="#BFE1FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TD_FIRST" mode="Opaque" backcolor="#FBFDFF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table_TD_LAST" mode="Opaque" backcolor="#FBFDFF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table 1_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<topPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table 2_TH" mode="Opaque" backcolor="#F0F8FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table 2_CH" mode="Opaque" backcolor="#BFE1FF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<style name="Table 2_TD" mode="Opaque" backcolor="#FFFFFF">
<box>
<pen lineWidth="0.5" lineColor="#000000"/>
<topPen lineWidth="0.5" lineColor="#000000"/>
<leftPen lineWidth="0.5" lineColor="#000000"/>
<bottomPen lineWidth="0.5" lineColor="#000000"/>
<rightPen lineWidth="0.5" lineColor="#000000"/>
</box>
</style>
<dataset name="taxDetailsDataset" uuid="7c39d151-8c33-473b-8385-9f91afdbfb66">
<property name="com.jaspersoft.studio.data.defaultdataadapter" value="One Empty Record"/>
<query language="sql"><![CDATA[]]></query>
<field name="tax_code_name" class="java.lang.String"/>
<field name="tax_amount" class="java.lang.String"/>
<field name="factor" class="java.lang.String"/>
</dataset>
<parameter name="title" class="java.lang.String"/>
<parameter name="guest_name" class="java.lang.String"/>
<parameter name="buyers_name" class="java.lang.String"/>
<parameter name="buyers_pan" class="java.lang.String"/>
<parameter name="buyers_address" class="java.lang.String"/>
<parameter name="billing_inst" class="java.lang.String"/>
<parameter name="room_occupancy" class="java.lang.String"/>
<parameter name="reference_number" class="java.lang.String"/>
<parameter name="bill_number" class="java.lang.String"/>
<parameter name="transaction_date" class="java.lang.String"/>
<parameter name="billed_date" class="java.lang.String"/>
<parameter name="nepali_date" class="java.lang.String"/>
<parameter name="arrival_date" class="java.lang.String"/>
<parameter name="departure_date" class="java.lang.String"/>
<parameter name="cover" class="java.lang.String"/>
<parameter name="group_name" class="java.lang.String"/>
<parameter name="sub_total" class="java.lang.String"/>
<parameter name="discount" class="java.lang.String"/>
<parameter name="luxury_tax" class="java.lang.String"/>
<parameter name="service_charge" class="java.lang.String"/>
<parameter name="exempted_amount" class="java.lang.String"/>
<parameter name="taxable_amount" class="java.lang.String"/>
<parameter name="value_added_tax" class="java.lang.String"/>
<parameter name="grand_total" class="java.lang.String"/>
<parameter name="in_words" class="java.lang.String"/>
<parameter name="cashier" class="java.lang.String"/>
<parameter name="header_image" class="java.io.InputStream"/>
<parameter name="taxDetailsDataSource" class="java.util.Collection"/>
<parameter name="sub_title" class="java.lang.String"/>
<parameter name="copy_of_original_count" class="java.lang.String"/>
<parameter name="company_name" class="java.lang.String"/>
<parameter name="total_room_advance" class="java.lang.String"/>
<parameter name="total_room_paidout" class="java.lang.String"/>
<parameter name="balance_to_pay" class="java.lang.String"/>
<parameter name="equivalent_amount" class="java.lang.String"/>
<parameter name="equivalent_amount_currency_code" class="java.lang.String"/>
<parameter name="payment_mode" class="java.lang.String"/>
<parameter name="current_date" class="java.lang.String"/>
<parameter name="current_time" class="java.lang.String"/>
<parameter name="thank_you" class="java.lang.String"/>
<parameter name="local_currency" class="java.lang.String"/>
<parameter name="outlet_name" class="java.lang.String"/>
<parameter name="kot_number" class="java.lang.String"/>
<parameter name="attendant_name" class="java.lang.String"/>
<query language="sql"><![CDATA[]]></query>
<field name="hs_code" class="java.lang.String"/>
<field name="date" class="java.lang.String"/>
<field name="description" class="java.lang.String"/>
<field name="quantity" class="java.lang.String"/>
<field name="currency" class="java.lang.String"/>
<field name="rate" class="java.lang.String"/>
<field name="exchange_rate" class="java.lang.String"/>
<field name="amount" class="java.lang.String"/>
<group name="AllSummaryRecords" keepTogether="true" preventOrphanFooter="true">
<groupFooter>
<band height="134" splitType="Prevent">
<element kind="textField" uuid="96ef9dc3-8b2a-49ce-99f5-3608937e8343" x="0" y="50" width="380" height="15" positionType="Float" markup="html" fontSize="10.0" textAdjust="StretchHeight" bold="false" hTextAlign="Left">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["<b>In Words: </b>"+ ($P{in_words} != null ? $P{in_words} : "")]]></expression>
</element>
<element kind="textField" uuid="90c929e8-22f5-4de4-ab8e-770e813cd717" x="0" y="87" width="140" height="15" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" hTextAlign="Left">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<box topPadding="3" leftPadding="0" bottomPadding="0" rightPadding="0">
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["Cashier: "+($P{cashier} != null ? $P{cashier} : "")]]></expression>
</element>
<element kind="textField" uuid="c790c0e1-c097-4014-9ebb-5c7346811094" x="0" y="102" width="185" height="15" positionType="Float" fontSize="8.0" pattern="MMMMM dd, yyyy">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Time: "+($P{current_date} != null ? $P{current_date}: "")+" "+($P{current_time} != null ? $P{current_time}:"")]]></expression>
</element>
<element kind="textField" uuid="8f0e18ea-61ba-4503-b7c6-dcd58b1d8c57" x="240" y="87" width="140" height="14" positionType="Float" fontSize="8.0" hTextAlign="Right">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<box topPadding="3" leftPadding="0" bottomPadding="0" rightPadding="0">
<pen lineWidth="1.0" lineStyle="Solid"/>
<topPen lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["Guest Signature"]]></expression>
</element>
<element kind="textField" uuid="d8095b2c-fe00-4c24-8b4e-d1a973135920" x="0" y="117" width="380" height="12" positionType="Float" removeLineWhenBlank="true" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="false" hTextAlign="Center" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<expression><![CDATA[$P{thank_you} != null ? $P{thank_you} : "Thank You"]]></expression>
</element>
<element kind="textField" uuid="b72ce8c7-1ab7-4717-931f-1f95d64720e9" x="0" y="1" width="380" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<topPen lineWidth="1.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["Sub Total: "+($P{sub_total} != null ? $P{sub_total} : "")]]></expression>
</element>
<element kind="textField" uuid="7267b45e-f9a1-4656-9eeb-1ddb419a77c4" x="0" y="13" width="380" height="12" positionType="Float" stretchType="NoStretch" removeLineWhenBlank="true" fontSize="8.0" textAdjust="StretchHeight" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<printWhenExpression><![CDATA[$P{discount} != null
&& !$P{discount}.trim().isEmpty()
&& !$P{discount}.trim().equals("0")
&& !$P{discount}.trim().equals("0.00")
]]></printWhenExpression>
<box>
<topPen lineStyle="Solid" lineColor="#000000"/>
<leftPen lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineStyle="Solid" lineColor="#000000"/>
<rightPen lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["Discount : "+$P{discount}]]></expression>
</element>
<element kind="component" uuid="9003abae-58d6-4424-a483-e19fe7937b1c" x="0" y="25" width="380" height="12" removeLineWhenBlank="true">
<property name="com.jaspersoft.studio.layout" value="com.jaspersoft.studio.editor.layout.VerticalRowLayout"/>
<property name="com.jaspersoft.studio.table.style.table_header" value="Table 2_TH"/>
<property name="com.jaspersoft.studio.table.style.column_header" value="Table 2_CH"/>
<property name="com.jaspersoft.studio.table.style.detail" value="Table 2_TD"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$P{taxDetailsDataSource} != null
&& !$P{taxDetailsDataSource}.isEmpty()]]></printWhenExpression>
<component kind="table">
<datasetRun uuid="3952da3e-3e44-4523-83bf-4c03ed3140fb" subDataset="taxDetailsDataset">
<dataSourceExpression><![CDATA[new net.sf.jasperreports.engine.data.JRBeanCollectionDataSource($P{taxDetailsDataSource})]]></dataSourceExpression>
</datasetRun>
<column kind="single" uuid="32a08910-f165-4f0b-8e4e-1cf6a8311d9c" width="380">
<property name="com.jaspersoft.studio.components.table.model.column.name" value="Column1"/>
<detailCell height="12" style="Table 2_TD">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box style="Table 2_TD">
<topPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<element kind="textField" uuid="4120a765-28a0-4ff1-8f1c-9e1a7d6a6146" x="0" y="0" width="380" height="12" fontSize="8.0" textAdjust="StretchHeight" bold="false" hTextAlign="Right">
<expression><![CDATA[($F{tax_code_name} == null ? "" : $F{tax_code_name}) +
($F{factor} == null ? "" : " @" + $F{factor} +"%") +
($F{tax_amount}== null ? "" : ": " +$F{tax_amount})]]></expression>
</element>
</detailCell>
</column>
<detail>
<printWhenExpression><![CDATA[$F{tax_amount} != null
&& !$F{tax_amount}.trim().isEmpty()
&& !$F{tax_amount}.trim().equals("0")
&& !$F{tax_amount}.trim().equals("0.00")]]></printWhenExpression>
</detail>
</component>
</element>
<element kind="textField" uuid="d0e09ec5-f178-4b65-871a-2ae242f81ad0" x="0" y="37" width="380" height="12" positionType="Float" markup="html" fontSize="9.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<expression><![CDATA["<b>GRAND TOTAL</b>"+(($P{local_currency} !=null && !$P{local_currency}.trim().isEmpty()) ? (" <b>("+$P{local_currency}+")</b>") : "")+": " + ($P{grand_total} != null ? $P{grand_total} : "")]]></expression>
</element>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</band>
</groupFooter>
</group>
<pageHeader height="196" splitType="Stretch">
<element kind="textField" uuid="c577dbde-da7c-423f-a6ed-a7e6a1d421bb" x="195" y="118" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Transaction Date: "+ ($P{transaction_date} == null ? "" : $P{transaction_date})]]></expression>
</element>
<element kind="textField" uuid="1e736741-df8e-4589-b77b-24ce800d19c4" x="195" y="106" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Bill No: "+ ($P{bill_number} == null ? "" : $P{bill_number})]]></expression>
</element>
<element kind="textField" uuid="116be096-21c6-4378-a46c-cf9839c3483a" x="195" y="142" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Bill Date (BS): "+ ($P{nepali_date} == null ? "" : $P{nepali_date})]]></expression>
</element>
<element kind="textField" uuid="0e5e58ef-18a4-40cd-a182-0e8c489170e1" x="195" y="166" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Cover: "+ ($P{cover} == null ? "" : $P{cover})]]></expression>
</element>
<element kind="textField" uuid="b5acab65-29b2-454d-9ffc-e879bbdcced0" x="195" y="154" width="185" height="12" positionType="Float" printWhenGroupChanges="AllSummaryRecords" removeLineWhenBlank="true" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Table No: "]]></expression>
</element>
<element kind="textField" uuid="c61c26a1-5d2a-4b5a-813a-9f15a51fb46a" x="0" y="130" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Buyer's Name: "+ ($P{company_name} == null ? "" : $P{company_name})]]></expression>
</element>
<element kind="textField" uuid="73e3e09d-303c-4037-97e3-5748d37411b9" x="0" y="118" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Guest Name: "+ ($P{guest_name} == null ? "" : $P{guest_name})]]></expression>
</element>
<element kind="textField" uuid="3098fbdc-c1eb-453c-99ed-7583c59bfa06" x="0" y="142" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Buyer's PAN: "+ ($P{buyers_pan} == null ? "" : $P{buyers_pan})]]></expression>
</element>
<element kind="textField" uuid="b5bb90fa-f2a9-4ad5-a5c7-d370710feccb" x="0" y="166" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Ref No: "+ ($P{reference_number} == null ? "" : $P{reference_number})]]></expression>
</element>
<element kind="textField" uuid="63248e1f-dc6f-4476-9010-8dd7bca5c272" x="0" y="154" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Address: "+ ($P{buyers_address} == null ? "" : $P{buyers_address})]]></expression>
</element>
<element kind="textField" uuid="4f14f943-d5e9-4626-8eb8-30881ff4433c" x="195" y="178" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Attendant: "+ ($P{attendant_name}== null ? "" : $P{attendant_name})]]></expression>
</element>
<element kind="textField" uuid="c7075f63-1126-4399-a644-a86b61655c30" x="0" y="76" width="380" height="12" fontSize="8.0" textAdjust="StretchHeight" bold="true" blankWhenNull="true" hTextAlign="Center">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.y" value="px"/>
<expression><![CDATA[$P{title}]]></expression>
</element>
<element kind="image" uuid="bfef7668-12c8-451f-829e-a78995d8e585" x="0" y="0" width="380" height="74" removeLineWhenBlank="true" scaleImage="FillFrame" hImageAlign="Center" vImageAlign="Middle" style="Table_CH_LAST">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<printWhenExpression><![CDATA[$P{header_image} != null]]></printWhenExpression>
<expression><![CDATA[$P{header_image}]]></expression>
</element>
<element kind="textField" uuid="385c9fe5-d98f-4070-9232-cb2c79696ac2" x="0" y="88" width="380" height="12" removeLineWhenBlank="true" fontSize="8.0" textAdjust="StretchHeight" bold="true" hTextAlign="Center">
<printWhenExpression><![CDATA[$P{sub_title}!=null && !$P{sub_title}.trim().isEmpty()]]></printWhenExpression>
<expression><![CDATA[($P{sub_title}!=null ? $P{sub_title} : "") + ($P{copy_of_original_count} != null ? (" " + $P{copy_of_original_count}) : "") ]]></expression>
</element>
<element kind="textField" uuid="3a132e03-3ed0-473a-bfb2-8708d36b038c" x="0" y="178" width="185" height="12" positionType="Float" printInFirstWholeBand="true" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["KOT No: "+ ($P{kot_number} == null ? "" : $P{kot_number})]]></expression>
</element>
<element kind="textField" uuid="91a59f7a-b353-499b-8360-855860cb9cba" x="0" y="106" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Outlet Name: "+ ($P{outlet_name} == null ? "" : $P{outlet_name})]]></expression>
</element>
<element kind="textField" uuid="fdf363e1-ca56-41ff-aefd-686927166122" x="195" y="131" width="185" height="12" positionType="Float" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Bill Date (AD): "+ ($P{billed_date} == null ? "" : $P{billed_date})]]></expression>
</element>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</pageHeader>
<columnHeader height="30" splitType="Stretch">
<element kind="staticText" uuid="eb1d53c5-e93f-4a54-9bd6-da4a32e979b8" x="0" y="0" width="20" height="25" fontSize="8.0" bold="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[S.N.]]></text>
</element>
<element kind="textField" uuid="12fad363-ab67-4024-99d5-d6a40e91f433" x="21" y="0" width="30" height="25" fontSize="8.0" bold="true" hTextAlign="Center" vTextAlign="Middle">
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["H.S.\nCode"]]></expression>
</element>
<element kind="staticText" uuid="7ed829be-6658-4fd1-9062-c8c5cb892d47" x="53" y="0" width="206" height="25" fontSize="8.0" bold="true" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Description]]></text>
</element>
<element kind="staticText" uuid="b9cb4f8d-2503-49d8-949c-1b267b299233" x="261" y="0" width="34" height="25" fontSize="8.0" bold="true" hTextAlign="Center" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Qty.]]></text>
</element>
<element kind="staticText" uuid="bdea262d-1fd4-466e-a9bb-efaaf7057c19" x="330" y="0" width="50" height="25" fontSize="8.0" bold="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<text><![CDATA[Amount]]></text>
</element>
<element kind="textField" uuid="578371f4-a752-429e-b36a-504a69ca5e38" x="296" y="0" width="33" height="25" fontSize="8.0" bold="true" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<box>
<pen lineWidth="1.0"/>
<topPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<leftPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
<bottomPen lineWidth="1.5" lineStyle="Solid" lineColor="#000000"/>
<rightPen lineWidth="0.0" lineStyle="Solid" lineColor="#000000"/>
</box>
<expression><![CDATA["Rate"]]></expression>
</element>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</columnHeader>
<detail>
<band height="15" splitType="Stretch">
<element kind="textField" uuid="5dd3d54d-876a-4d57-8a6e-401f4468dd10" x="0" y="0" width="20" height="15" stretchType="ContainerHeight" fontSize="8.0" textAdjust="StretchHeight" hTextAlign="Left">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<expression><![CDATA[$V{REPORT_COUNT}]]></expression>
</element>
<element kind="textField" uuid="63dd864e-871a-4338-b14c-f48ba03a0cd2" x="21" y="0" width="30" height="15" stretchType="ContainerHeight" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="4caeb121-db9c-4772-a9b3-95b95ba0e8e7"/>
<expression><![CDATA[$F{hs_code}]]></expression>
</element>
<element kind="textField" uuid="2e655b16-41c6-488e-9610-505e35ec4555" x="53" y="0" width="206" height="15" stretchType="ContainerHeight" printWhenGroupChanges="AllSummaryRecordsGroup" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Left">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a1c1a374-3b4b-4a3f-ac8f-5eaaa607c8ac"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA[$F{description}]]></expression>
</element>
<element kind="textField" uuid="b9391f3b-6252-4f53-9812-d65dd706daaa" x="261" y="0" width="34" height="15" stretchType="ContainerHeight" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Center">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="85b319a9-acce-4e52-91cf-20a5ed8dacc6"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA[$F{quantity}]]></expression>
</element>
<element kind="textField" uuid="da149932-a5db-4279-927e-68f85887a7fd" x="296" y="0" width="33" height="15" stretchType="ContainerHeight" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="a01e4e8a-2d39-4efb-8710-45dd226359b8"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA[$F{rate}]]></expression>
</element>
<element kind="textField" uuid="bfdb3982-d3aa-4455-b4c6-a8f90c678714" x="330" y="0" width="50" height="15" stretchType="ContainerHeight" fontSize="8.0" textAdjust="StretchHeight" blankWhenNull="true" hTextAlign="Right">
<property name="com.jaspersoft.studio.spreadsheet.connectionID" value="703dc4b1-7534-467d-b45e-e1bf76e54ad4"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA[$F{amount}]]></expression>
</element>
</band>
</detail>
<pageFooter height="12" splitType="Stretch">
<element kind="frame" uuid="8db4dacb-fb4f-472b-b152-0de73510d3e7" x="0" y="0" width="380" height="12">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<element kind="textField" uuid="39a73130-ea6f-49f5-92f3-9769051fc5ed" x="0" y="0" width="195" height="12" fontSize="8.0" hTextAlign="Right" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.height" value="px"/>
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA["Page " + $V{PAGE_NUMBER}]]></expression>
</element>
<element kind="textField" uuid="b7a1cf85-9fd6-4221-9d86-2876a0da66a5" x="195" y="0" width="185" height="12" fontSize="8.0" evaluationTime="Report" hTextAlign="Left" vTextAlign="Middle">
<property name="com.jaspersoft.studio.unit.width" value="px"/>
<expression><![CDATA[" of " + $V{PAGE_NUMBER}]]></expression>
</element>
</element>
<property name="com.jaspersoft.studio.unit.height" value="px"/>
</pageFooter>
</jasperReport>
Sample A4 -
Jasper code A4 -
adf

No Comments