diff options
Diffstat (limited to 'jasper_reports/custom_reports/invoice_new.jrxml')
| -rw-r--r-- | jasper_reports/custom_reports/invoice_new.jrxml | 149 |
1 files changed, 149 insertions, 0 deletions
diff --git a/jasper_reports/custom_reports/invoice_new.jrxml b/jasper_reports/custom_reports/invoice_new.jrxml new file mode 100644 index 0000000..1eca8d0 --- /dev/null +++ b/jasper_reports/custom_reports/invoice_new.jrxml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- Created with Jaspersoft Studio version 6.20.5.final using JasperReports Library version 6.20.5-3efcf2e67f959db3888d79f73dde2dbd7acb4f8e --> +<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="invoice_new" pageWidth="595" pageHeight="842" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="46dc53ce-14cd-4583-bb51-043797f1fab1"> + <property name="com.jaspersoft.studio.data.defaultdataadapter" value="invoice_new.jrdax"/> + <property name="ODOO_RELATIONS"> + <![CDATA[['invoice_line_ids']]]> + </property> + <queryString language="XPath"> + <![CDATA[]]> + </queryString> + <field name="Nama Customer" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Partner-partner_id/Display_Name-display_name"/> + <fieldDescription><![CDATA[/data/record/Partner-partner_id/Display_Name-display_name]]></fieldDescription> + </field> + <field name="Alamat Customer" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Partner-partner_id/Street-street"/> + <fieldDescription><![CDATA[/data/record/Partner-partner_id/Street-street]]></fieldDescription> + </field> + <field name="No Invoice" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Number-name"/> + <fieldDescription><![CDATA[/data/record/Number-name]]></fieldDescription> + </field> + <field name="Invoice Date" class="java.sql.Date"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Invoice_Bill_Date-invoice_date"/> + <fieldDescription><![CDATA[/data/record/Invoice_Bill_Date-invoice_date]]></fieldDescription> + </field> + <field name="Invoice Due Date" class="java.sql.Date"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Due_Date-invoice_date_due"/> + <fieldDescription><![CDATA[/data/record/Due_Date-invoice_date_due]]></fieldDescription> + </field> + <field name="Source" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Origin-invoice_origin"/> + <fieldDescription><![CDATA[/data/record/Origin-invoice_origin]]></fieldDescription> + </field> + <field name="Reference" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Reference-ref"/> + <fieldDescription><![CDATA[/data/record/Reference-ref]]></fieldDescription> + </field> + <field name="Product" class="java.lang.String"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Invoice_lines-invoice_line_ids/Product-product_id/Display_Name-display_name"/> + <fieldDescription><![CDATA[/data/record/Invoice_lines-invoice_line_ids/Product-product_id/Display_Name-display_name]]></fieldDescription> + </field> + <field name="Quantity" class="java.lang.Integer"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Invoice_lines-invoice_line_ids/Quantity-quantity"/> + <fieldDescription><![CDATA[/data/record/Invoice_lines-invoice_line_ids/Quantity-quantity]]></fieldDescription> + </field> + <field name="Price Unit" class="java.math.BigDecimal"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Invoice_lines-invoice_line_ids/Unit_Price-price_unit"/> + <fieldDescription><![CDATA[/data/record/Invoice_lines-invoice_line_ids/Unit_Price-price_unit]]></fieldDescription> + </field> + <field name="Amount" class="java.math.BigDecimal"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Invoice_lines-invoice_line_ids/Subtotal-price_subtotal"/> + <fieldDescription><![CDATA[/data/record/Invoice_lines-invoice_line_ids/Subtotal-price_subtotal]]></fieldDescription> + </field> + <field name="Amount Untaxed" class="java.math.BigDecimal"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Untaxed_Amount-amount_untaxed"/> + <fieldDescription><![CDATA[/data/record/Untaxed_Amount-amount_untaxed]]></fieldDescription> + </field> + <field name="Taxes" class="java.math.BigDecimal"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Tax_amount_by_group-amount_by_group"/> + <fieldDescription><![CDATA[/data/record/Tax_amount_by_group-amount_by_group]]></fieldDescription> + </field> + <field name="Total" class="java.math.BigDecimal"> + <property name="net.sf.jasperreports.xpath.field.expression" value="/data/record/Total-amount_total"/> + <fieldDescription><![CDATA[/data/record/Total-amount_total]]></fieldDescription> + </field> + <background> + <band splitType="Stretch"/> + </background> + <title> + <band height="291"> + <line> + <reportElement x="-3" y="34" width="560" height="1" uuid="474bbf3d-4176-458a-ab45-78f5ab415c0b"/> + </line> + <staticText> + <reportElement x="0" y="35" width="270" height="70" uuid="4d6e869c-dca8-4a06-b83c-18d2ad62e56e"/> + <text><![CDATA[PT. INDOTEKNIK DOTCOM GEMILANG +Jl. Bandengan Utara 85A No 8-9 RT 3/RW 16 +Penjaringan, Kec. Penjaringan, Jakarta +JK 14440 +Indonesia]]></text> + </staticText> + <image> + <reportElement x="0" y="1" width="126" height="33" uuid="fe82391d-73e5-4b74-bb27-001d75fdf38e"/> + <imageExpression><![CDATA["https://erp.indoteknik.com/api/image/ir.attachment/datas/2135765"]]></imageExpression> + </image> + <textField> + <reportElement x="368" y="90" width="187" height="30" uuid="46bbfb18-e340-491b-b089-dcd6a5391a90"/> + <textElement verticalAlignment="Bottom"/> + <textFieldExpression><![CDATA[$F{Nama Customer}]]></textFieldExpression> + </textField> + <textField> + <reportElement x="368" y="130" width="187" height="103" uuid="b22de69e-06b2-49b2-a036-4577ec192ad4"/> + <textFieldExpression><![CDATA[$F{Alamat Customer}]]></textFieldExpression> + </textField> + <textField> + <reportElement x="0" y="197" width="368" height="34" forecolor="#AF171D" uuid="dca8da99-294a-4833-a9af-972dd8917cac"/> + <textElement> + <font size="20"/> + </textElement> + <textFieldExpression><![CDATA["Invoice " + $F{No Invoice}]]></textFieldExpression> + </textField> + <staticText> + <reportElement x="1" y="234" width="89" height="20" forecolor="#3D5959" uuid="36a93f73-12c6-410b-b423-c2fa984e4c0b"/> + <textElement verticalAlignment="Bottom"> + <font size="11" isBold="true"/> + </textElement> + <text><![CDATA[Invoice Date:]]></text> + </staticText> + <staticText> + <reportElement x="149" y="234" width="91" height="20" forecolor="#3D5959" uuid="33f3adb7-c498-44a0-a313-8e35de785e05"/> + <textElement verticalAlignment="Bottom"> + <font size="11" isBold="true"/> + </textElement> + <text><![CDATA[Due Date:]]></text> + </staticText> + <staticText> + <reportElement x="301" y="234" width="88" height="20" forecolor="#3D5959" uuid="f2afb897-6f98-4608-92ea-5ba3ef54968c"/> + <textElement verticalAlignment="Bottom"> + <font size="11" isBold="true"/> + </textElement> + <text><![CDATA[Source:]]></text> + </staticText> + <staticText> + <reportElement x="439" y="234" width="116" height="20" forecolor="#3D5959" uuid="92761fad-d869-40bd-92ff-491972890938"/> + <textElement verticalAlignment="Bottom"> + <font size="11" isBold="true"/> + </textElement> + <text><![CDATA[Reference:]]></text> + </staticText> + <textField pattern="M/d/yy"> + <reportElement x="1" y="258" width="89" height="30" uuid="7dcd9cdd-0509-4d72-9c7b-0aa401ea1060"/> + <textFieldExpression><![CDATA[$F{Invoice Date}]]></textFieldExpression> + </textField> + <textField pattern="M/d/yy"> + <reportElement x="149" y="258" width="91" height="30" uuid="85b01dd8-c024-4d13-8be8-4312b4b70a5a"/> + <textFieldExpression><![CDATA[$F{Invoice Due Date}]]></textFieldExpression> + </textField> + <textField> + <reportElement x="301" y="258" width="88" height="30" uuid="a94fc9d5-0ea2-4ca6-8393-d917dc457186"/> + <textFieldExpression><![CDATA[$F{Source}]]></textFieldExpression> + </textField> + <textField> + <reportElement x="439" y="258" width="116" height="30" uuid="3112d7cb-882f-4953-9333-982e60e59812"/> + <textFieldExpression><![CDATA[$F{Reference}]]></textFieldExpression> + </textField> + </band> + </title> +</jasperReport> |
