<band height="76" splitType="Stretch"> <rectangle> <reportElement x="0" y="0" width="555" height="72" forecolor="#999999" uuid="7c617743-86f7-400c-b479-649d8290579a"/> </rectangle> <textField> <reportElement x="5" y="0" width="182" height="20" uuid="d1da5528-8f20-41d4-830a-322dea650e47"/> <textElement verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA["Nota Número: "+$F{docs_numero}]]></textFieldExpression> </textField> <textField pattern="dd/MM/yyyy"> <reportElement x="289" y="0" width="261" height="20" uuid="01641da7-03a9-4f3f-ac9f-ea5016c4e254"/> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA["Emissão: " + new java.text.SimpleDateFormat("dd/MM/yyyy").format($F{docs_dataEmissao}) + ($F{docs_dataEntrada} == null ? "" : $F{docs_dataEntrada} == "" ? "" : " Saída: " + new java.text.SimpleDateFormat("dd/MM/yyyy").format($F{docs_dataEntrada}))]]></textFieldExpression> </textField> <textField> <reportElement x="187" y="0" width="102" height="20" uuid="14111613-3d4a-4f08-8c90-2a1b2a6845e4"/> <textElement verticalAlignment="Middle"> <font size="12" isBold="true"/> </textElement> <textFieldExpression><![CDATA["Série: "+$F{docs_serie}]]></textFieldExpression> </textField> <textField> <reportElement x="63" y="23" width="358" height="15" uuid="f5791b0e-841e-4924-8203-9dea06fda861"/> <textFieldExpression><![CDATA[$F{docs_nomeCliForn}]]></textFieldExpression> </textField> <staticText> <reportElement x="5" y="23" width="58" height="15" uuid="b2725655-11ac-4434-9889-bbb5edbf5be6"/> <text><![CDATA[Fornecedor:]]></text> </staticText> <staticText> <reportElement x="5" y="38" width="58" height="15" uuid="051d8e82-17bf-48a1-98d0-e30a7d732fb0"/> <text><![CDATA[Endereço:]]></text> </staticText> <staticText> <reportElement x="5" y="54" width="58" height="15" uuid="ea5f243e-bb25-47c3-b982-38ee0c234f66"/> <text><![CDATA[Telefone:]]></text> </staticText> <line> <reportElement x="5" y="23" width="545" height="1" forecolor="#999999" uuid="4c0a1b92-bad2-4f9f-a435-367c5f3e2d22"/> <graphicElement> <pen lineStyle="Dotted"/> </graphicElement> </line> <line> <reportElement x="5" y="37" width="545" height="1" forecolor="#999999" uuid="f8b08807-6ad7-42a9-8d2b-f3cc9a4b64fc"/> <graphicElement> <pen lineStyle="Dotted"/> </graphicElement> </line> <line> <reportElement x="5" y="53" width="545" height="1" forecolor="#999999" uuid="4e3c2baa-fe61-41e4-a08b-481e5374dff6"/> <graphicElement> <pen lineStyle="Dotted"/> </graphicElement> </line> <textField isBlankWhenNull="true"> <reportElement x="63" y="38" width="487" height="15" uuid="0fad6dc9-078b-4438-b938-89eed7f90ab8"/> <textFieldExpression><![CDATA[($F{pessoas_endereco} == null ? "" : $F{pessoas_endereco} == "" ? "" : $F{pessoas_endereco})+ ($F{pessoas_numero} == null ? "" : $F{pessoas_numero} == "" ? "" : ", Nº "+$F{pessoas_numero})+ ($F{pessoas_complemento} == null ? "" : $F{pessoas_complemento} == "" ? "" : ", "+$F{pessoas_complemento})+ ($F{pessoas_bairro} == null ? "" : $F{pessoas_bairro} == "" ? "" : ", "+$F{pessoas_bairro} + " - ")+ ($F{pessoas_nomeCidade} == null ? "" : $F{pessoas_nomeCidade} == "" ? "" : $F{pessoas_nomeCidade}+" / "+$F{pessoas_uf})]]></textFieldExpression> </textField> <textField isBlankWhenNull="true"> <reportElement x="63" y="54" width="226" height="15" uuid="b1dce3de-ba67-49cb-a42d-4c8608080262"/> <textFieldExpression><![CDATA[($F{pessoas_telefone1} + " " + $F{pessoas_telefone2}).replace("null", "")]]></textFieldExpression> </textField> <textField> <reportElement x="421" y="23" width="129" height="15" uuid="bdee4980-7ef5-4efb-97c5-7327cdaaa511"/> <textElement textAlignment="Right"/> <textFieldExpression><![CDATA[($F{pessoas_cpfCnpj} == null ? "" : ($F{pessoas_tipo} == "F" ? "CPF: " : "CNPJ: ") + " " + $F{pessoas_cpfCnpj})]]></textFieldExpression> </textField> </band> " +($F{docs_vlrAcrescimo} == 0 ? "" : "Desp Acess: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrAcrescimo}.doubleValue())+"
") + ($F{docs_vlrDesconto} == 0 ? "" : "Desconto: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrDesconto}.doubleValue())+"
") + ($F{docs_vlrFrete} == 0 ? "" : "Frete: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrFrete}.doubleValue())+"
") + ($F{docs_vlrServicos} == 0 ? "" : "Serviços: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrServicos}.doubleValue())+"
") + ($F{docs_vlrProdutos} == 0 ? "" : "Produtos: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrProdutos}.doubleValue())+"
") + ("Total: " + (new DecimalFormat("¤ #,##0.00")).format($F{docs_vlrTotal}.doubleValue()) + "") + ""]]>