Ir para conteúdo

gui_nastrini

Members
  • Total de itens

    4
  • Registro em

  • Última visita

Reputação

0 Comum

Sobre gui_nastrini

Contato

  1. gui_nastrini

    Relatório iReport não traz os campos na aba Summary

    No sistema gerencial que estou trabalhando, gero em PDF um comprovante não fiscal para impressora térmica, feito no iReport, utilizando a biblioteca PHPJasperXML. Neste comprovante, quando se tem apenas um produto (uma linha) na aba Detail, os campos do Summary vem em branco. Quando se tem dois produtos ou mais (duas linhas ou mais) na aba Detail, os campos são preenchidos normalmente. No preview do programa iReport funciona perfeitamente, com um ou dois produtos. Segue o jrxml do relatório (somente o detail e o summary): <detail> <band height="25" splitType="Stretch"> <textField isStretchWithOverflow="true"> <reportElement x="0" y="0" width="186" height="12" uuid="e06c4bc6-e0f7-4e0e-8a7b-ab5ce1fd5e62"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="false"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="52" y="12" width="67" height="12" uuid="1d928a34-4972-4204-9612-9f0e8a6749d3"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{valor}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="0" y="12" width="52" height="12" uuid="f6d30d04-d0fe-4dd3-a675-377ff6d2b473"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="119" y="12" width="67" height="12" uuid="0603e3b7-801d-49af-9a06-5d33023c5277"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{subtotal}]]></textFieldExpression> </textField> </band> </detail> <summary> <band height="203"> <staticText> <reportElement mode="Opaque" x="0" y="82" width="85" height="16" backcolor="#CCCCCC" uuid="6b173bab-525a-4da5-a564-723a8cbb1fbc"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TROCO:]]></text> </staticText> <staticText> <reportElement x="0" y="3" width="53" height="12" uuid="c99a6844-ca28-47c7-a022-80d2717bf547"/> <textElement textAlignment="Center" verticalAlignment="Bottom"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[Emissão:]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="66" width="85" height="16" backcolor="#CCCCCC" uuid="d0b8947e-8183-4a55-8b6d-f238bdac0404"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TOTAL REC.:]]></text> </staticText> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="82" width="101" height="16" uuid="a15e9cba-0f96-42be-8071-dbd7afecf73a"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{troco}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="34" width="101" height="16" uuid="47411e66-b385-427c-825c-3be4e4abe45e"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="34" width="85" height="16" backcolor="#CCCCCC" uuid="05f791f7-9e38-4ee2-b7db-8e1ec1d6275f"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ DESCONTO:]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="18" width="85" height="16" backcolor="#CCCCCC" uuid="3c260ede-9083-41f2-aa35-b2e044fc645a"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ SUBTOTAL:]]></text> </staticText> <textField> <reportElement x="52" y="3" width="134" height="12" uuid="47291c92-c9d1-40ac-a8d8-82247f26f98b"/> <textElement verticalAlignment="Top"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{hoje}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="66" width="101" height="16" uuid="798cef8b-50c8-437b-af79-95526dbcd315"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_rec}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" mode="Transparent" x="85" y="18" width="101" height="16" uuid="ac0e949b-93f4-4ded-a654-97230a33cb20"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_prod}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="50" width="101" height="16" uuid="98a37383-f178-4e9b-817a-66c3ebe183a5"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_venda}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="102" width="186" height="98" isPrintWhenDetailOverflows="true" uuid="85f18504-1690-48ae-a11a-02a6b0ef4489"/> <box> <pen lineColor="#999999"/> <topPen lineColor="#999999"/> <leftPen lineColor="#999999"/> <bottomPen lineColor="#999999"/> <rightPen lineColor="#999999"/> </box> <textElement markup="none"> <font size="7" isPdfEmbedded="false"/> </textElement> <textFieldExpression><![CDATA[$F{pagamentos_venda}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="50" width="85" height="16" backcolor="#CCCCCC" uuid="1fc6ac4f-3090-4de5-8fd6-7562b4058ecf"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TOTAL:]]></text> </staticText> <line> <reportElement x="0" y="0" width="186" height="1" uuid="e3ab1d85-d813-4fe6-ba0d-70c9bf390b79"/> </line> </band> </summary> Veja os resultados em PDF: 1 - Com um produto: 2 - Com dois produtos: Os valores já vem prontos do banco de dados MySQL, nada é alterado ou incrementado dentro do Summary. Já tentei com parameter e variable mas não deu certo. Alguém tem alguma ideia? Seria um problema no relatório ou alguma configuração de servidor? Obrigado desde já!
  2. gui_nastrini

    [Resolvido] xmlapi.php do cPanel não cria BD Mysql

    A XML API (xmlapi.php) do cPanel foi desativada e não funciona mais a partir da versão 74 do WHM / cPanel. Veja a release note oficial: https://documentation.cpanel.net/display/74Docs/74+Release+Notes#id-74ReleaseNotes-RemovedXMLoutputinAPIfunctions
  3. gui_nastrini

    [Resolvido] xmlapi.php do cPanel não cria BD Mysql

    Tenho um servidor dedicado na Hostgator com acesso ao WHM. Ontem foi sugerida a atualização do próprio WHM e do cPanel para a nova versão 74.0.4 A partir disso não foi mais possível a criação de bancos de dados MySQL através do código PHP e do xmlapi.php Alguém mais está passando por algum problema relacionado ao xmlapi ou à atualização do cPanel? Link para xmlapi.php: https://github.com/CpanelInc/xmlapi-php Código para criação do BD: $nome_bd = "usuario_cpanel" . md5(uniqid(time())); $db_host = "minha_url"; $cpuser = "meu_usuario"; $cppass = "minha_senha"; $xmlapi = new xmlapi($db_host); $xmlapi->set_port(2083); $xmlapi->password_auth($cpuser, $cppass); $xmlapi->set_debug(1); print($xmlapi->api1_query($cpuser, 'Mysql', 'adddb', array($nome_bd))); $xmlapi->api1_query($cpuser, 'Mysql', 'adduserdb', array($nome_bd, 'usuario_bd', 'all')); O log de erro é um pouco estranho, por isso acho que seja um problema no cPanel, e não no meu código, pois antes da atualização ele funcionava perfeitamente. [09-Aug-2018 14:38:13 America/Sao_Paulo] RESPONSE: <!DOCTYPE html> <html lang="pt_br" dir="ltr"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="google" content="notranslate" /> <meta name="apple-itunes-app" content="app-id=1188352635" /> <title>Login do cPanel</title> <link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAICAAAAEAIADSAgAAFgAAAIlQTkcNChoKAAAADUlIRFIAAAAgAAAAIAgGAAAAc3p69AAAAplJREFUWIXt1j2IHGUYB/DfOzdnjIKFkECIVWIKvUFsIkRExa9KJCLaWAgWJx4DilZWgpDDiI0wiViIoGATP1CCEDYHSeCwUBBkgiiKURQJFiLo4d0eOxYzC8nsO9m9XcXC+8MW+3z+9/l6l2383xH+iSBpElyTdoda26xsDqp/h0CVZ3vwKm7tMBngAs7h7eRYebG6hMtMBHbMBX89vfARHprQ5U8cwdFQlIOZCVR5di1+w/wWXT/EY6EoN5NZCODuKZLDwzgSMCuBe2fwfX6QZwtpWzqfBBtLC3txF/ZhxKbBGx0EfsTJS77vwmGjlZrD4mUzUOXZjVjGI65cnTXchB8iupdDUb7QinsQZ7GzZftdQj2JVZ49iC/w6JjksIo7OnS9tiA5Vn6GtyK2+1MY5NkhfGDygVrBAxH5WkPuMjR7/3UsUFLl2Q68s4XkA3ws3v9zoSjX28Kr5wL1xrTxa6ou+f6OZGvqPg9v1wZeaUjcELE/DVfNhWFSvy/enOIZ9eq1sTokEMNLWI79oirP8g6fXpVnh7GEvY1sV/OJ4f0UhyKKk6EoX4x5pEkgXv6L6OM99YqNw/c4kXSwG5nkIfpLCynuiahW1GWeJHkfT4aiXO9atz1XcD6I6yLyHu6bIPk6Hg9FeYZ63y9EjBarPDvQ8VJ1nd9V3D4m+RncForyxFCQ4hSeahlej88Hefauurdwaufr5z/F/ZHAX6nL+mZE18e36IWiHLkFocqzW9QXcNz1+wUHxJ/f10JRPjvGP4pk/vj5L3F8AtufdD+/p6dJDknzX+05fDLGtife/766t9MRgFCUffWTudwE3AqBlVCUf0xLYGTQqzzbhydwJ3Y34g318J1tmX+DPBTlz9MS2MY2/nP8DTGaqeTDf30rAAAAAElFTkSuQmCC" type="image/x-icon" /> <!-- EXTERNAL CSS --> <link href="/cPanel_magic_revision_1386192030/unprotected/cpanel/fonts/open_sans/open_sans.min.css" rel="stylesheet" type="text/css" /> <link href="/cPanel_magic_revision_1533726917/unprotected/cpanel/style_v2_optimized.css" rel="stylesheet" type="text/css" /> <style type="text/css"> /* This css is included in the base template in case the css cannot be loaded because of access restrictions If this css is updated, please update securitypolicy_header.html.tmpl as well */ .copyright { background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzNTlwdCIgaGVpZ2h0PSIzMjAiIHZpZXdCb3g9IjAgMCAzNTkgMjQwIj48ZGVmcz48Y2xpcFBhdGggaWQ9ImEiPjxwYXRoIGQ9Ik0xMjMgMGgyMzUuMzd2MjQwSDEyM3ptMCAwIi8+PC9jbGlwUGF0aD48L2RlZnM+PHBhdGggZD0iTTg5LjY5IDU5LjEwMmg2Ny44MDJsLTEwLjUgNDAuMmMtMS42MDUgNS42LTQuNjA1IDEwLjEtOSAxMy41LTQuNDAyIDMuNC05LjUwNCA1LjA5Ni0xNS4zIDUuMDk2aC0zMS41Yy03LjIgMC0xMy41NSAyLjEwMi0xOS4wNSA2LjMtNS41MDUgNC4yLTkuMzUzIDkuOTA0LTExLjU1MiAxNy4xMDMtMS40IDUuNDAzLTEuNTUgMTAuNS0uNDUgMTUuMzAyIDEuMDk4IDQuNzk2IDMuMDQ3IDkuMDUgNS44NTIgMTIuNzUgMi43OTcgMy43MDMgNi40IDYuNjUyIDEwLjc5NyA4Ljg1IDQuMzk3IDIuMiA5LjE5OCAzLjI5OCAxNC40IDMuMjk4aDE5LjJjMy42MDIgMCA2LjU0NyAxLjQ1MyA4Ljg1MiA0LjM1MiAyLjI5NyAyLjkwMiAyLjk0NSA2LjE0OCAxLjk1IDkuNzVsLTEyIDQ0LjM5OGgtMjFjLTE0LjQwMyAwLTI3LjY1My0zLjE0OC0zOS43NS05LjQ1LTEyLjEwMi02LjMtMjIuMTUzLTE0LjY0OC0zMC4xNTMtMjUuMDUtOC0xMC4zOTUtMTMuNDU0LTIyLjI0Ni0xNi4zNS0zNS41NDctMi45LTEzLjMtMi41NS0yNi45NSAxLjA1Mi00MC45NTNsMS4yLTQuNWMyLjU5Ny05LjYwMiA2LjY0OC0xOC40NSAxMi4xNDgtMjYuNTUgNS41LTguMDk4IDEyLTE1IDE5LjUtMjAuNyA3LjUtNS43IDE1Ljg1LTEwLjE0OCAyNS4wNS0xMy4zNTIgOS4yLTMuMTk1IDE4Ljc5Ny00Ljc5NiAyOC44LTQuNzk2IiBmaWxsPSIjZmY2YzJjIi8+PGcgY2xpcC1wYXRoPSJ1cmwoI2EpIj48cGF0aCBkPSJNMTIzLjg5IDI0MEwxODIuOTkgMTguNjAyYzEuNTk4LTUuNTk4IDQuNTk4LTEwLjA5OCA5LTEzLjVDMTk2LjM4OCAxLjcgMjAxLjQ4NCAwIDIwNy4yODggMGg2Mi43YzE0LjQwMyAwIDI3LjY1IDMuMTQ4IDM5Ljc1IDkuNDUgMTIuMTAyIDYuMyAyMi4xNTMgMTQuNjU1IDMwLjE1MyAyNS4wNSA3Ljk5NyAxMC40MDIgMTMuNSAyMi4yNTQgMTYuNSAzNS41NSAzIDEzLjMwNSAyLjU5NCAyNi45NTQtMS4yMDIgNDAuOTVsLTEuMiA0LjVjLTIuNTk3IDkuNjAyLTYuNTk3IDE4LjQ1LTEyIDI2LjU1LTUuMzk4IDguMDk4LTExLjg0NyAxNS4wNTItMTkuMzQ3IDIwLjg0OC03LjUgNS44MDUtMTUuODU1IDEwLjMwNS0yNS4wNSAxMy41LTkuMiAzLjIwNC0xOC44MDUgNC44MDUtMjguODA1IDQuODA1aC01NC4yOTdsMTAuOC00MC41YzEuNi01LjQwMiA0LjYtOS44IDktMTMuMjAzIDQuMzk2LTMuMzk4IDkuNDk3LTUuMTAyIDE1LjMwMi01LjEwMmgxNy4zOThjNy4yIDAgMTMuNjUzLTIuMiAxOS4zNTItNi41OTcgNS42OTUtNC4zOTggOS40NDUtMTAuMDk3IDExLjI1LTE3LjEgMS4zOTQtNC45OTcgMS41NDctOS45LjQ0NS0xNC43LTEuMS00LjgtMy4wNS05LjA0Ny01Ljg0OC0xMi43NS0yLjgtMy42OTUtNi40MDItNi42OTUtMTAuNzk2LTktNC40MDYtMi4yOTctOS4yMDYtMy40NS0xNC40MDItMy40NUgyMzMuMzlsLTQzLjggMTYyLjkwM2MtMS42MDYgNS40LTQuNjA2IDkuNzk3LTkgMTMuMTk1LTQuNDAzIDMuNDA3LTkuNDA2IDUuMTAyLTE1IDUuMTAyaC00MS43IiBmaWxsPSIjZmY2YzJjIi8+PC9nPjwvc3ZnPgo=) no-repeat scroll center top transparent; background-size: 25px auto; } </style> <!--[if IE 6]> <style type="text/css"> img { behavior: url(/cPanel_magic_revision_1375211990/unprotected/cp_pngbehavior_login.htc); } </style> <![endif]--> <script> window.DOM = { get: function(id) { return document.getElementById(id) } }; </script> </head> <body class="cp"> <p class="logo"><img class="main-logo" src="/cPanel_magic_revision_1487348166/unprotected/cpanel/images/cpanel-logo.svg" alt="logo"></p> <div class="error_notice"> <div id="error-wrapper"> <div id="error_msg_contents"> <h2>Erro HTTP 404</h2> <p>A página solicitada não foi encontrada.</p> <h2>Possíveis motivos pelos quais você está vendo esta página:</h2> <ul> <li>Um URL indicado pode ter sido alterado desde a última vez que você o visitou.</li> <li>O URL foi inserido incorretamente.</li> <li>A URL foi digitada com uso impreciso de maiúsculas (as URLs <a href="http://wikipedia.org/wiki/Case_sensitivity">diferenciam maiúsculas de minúsculas</a>).</li> </ul> <p>Verifique novamente o URL que está tentando acessar. (<a href="javascript:history.back()">Voltar</a>)</p> </div> </div> </div> <div class="copyright">Copyright© 2018 cPanel, Inc. <br /><a href="https://go.cpanel.net/privacy" target="_blank">Privacy Policy</a></div> </body> </html> [09-Aug-2018 14:38:14 America/Sao_Paulo] Some error message here Fico grato se alguém puder ajudar ou pelo menos informar alguma situação semelhante que está passando.
  4. gui_nastrini

    Summary do iReport não traz os fields

    No sistema gerencial que estou trabalhando, gero em PDF um comprovante não fiscal para impressora térmica feito no iReport utilizando a biblioteca PHPJasperXML. Neste comprovante, quando se tem apenas um produto na aba Detail, não aparecem os fields do Summary. No preview do iReport funciona perfeitamente. E quando se tem dois produtos ou mais, também funciona certinho. Segue o jrxml do relatório: <?xml version="1.0" encoding="UTF-8"?> <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="Comprovante de Venda" language="groovy" pageWidth="226" pageHeight="1000" columnWidth="186" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="7adaf37b-383e-4716-8dba-c60672258fa5"> <property name="ireport.zoom" value="2.0"/> <property name="ireport.x" value="0"/> <property name="ireport.y" value="0"/> <queryString> <![CDATA[SELECT v.nrvenda AS nrvenda, v.data AS data, v.total_prod AS total_prod, v.desconto AS desconto, v.total_venda AS total_venda, v.total_rec AS total_rec, v.troco AS troco, v.endereco_e AS endereco, v.numero_e AS numero, v.complemento_e AS complemento, v.bairro_e AS bairro, v.cidade_e AS cidade, v.uf_e AS uf, i.quantidade AS quantidade, i.valor AS valor, ((i.valor * i.quantidade) - i.desconto) AS subtotal, ve.nomev AS nomev, c.nome AS nome, i.descricao AS descricao, pa.foto1 AS foto1, pa.fantasia AS fantasia, f.hoje AS hoje, f.pagamentos_venda AS pagamentos_venda FROM vendas v, ivendas i, produtos p, vendedor ve, clientes c, parametros pa, filtro_relats f WHERE v.vendas_id = f.consulta AND v.vendas_id = i.venda_id AND v.cliente = c.id AND v.vendedor = ve.id AND i.cod_prod = p.id_produto]]> </queryString> <field name="nrvenda" class="java.lang.Integer"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="data" class="java.sql.Date"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="total_prod" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="desconto" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="total_venda" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="total_rec" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="troco" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="endereco" class="java.lang.String"/> <field name="numero" class="java.lang.Integer"/> <field name="complemento" class="java.lang.String"/> <field name="bairro" class="java.lang.String"/> <field name="cidade" class="java.lang.String"/> <field name="uf" class="java.lang.String"/> <field name="quantidade" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="valor" class="java.math.BigDecimal"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="subtotal" class="java.math.BigDecimal"/> <field name="nomev" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="nome" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="descricao" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="foto1" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="fantasia" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="hoje" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <field name="pagamentos_venda" class="java.lang.String"> <fieldDescription><![CDATA[]]></fieldDescription> </field> <title> <band height="187"> <textField pattern="dd/MM/yyyy"> <reportElement x="120" y="99" width="66" height="12" uuid="25d34e22-9598-4071-a564-30baf0f8d047"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> </textElement> <textFieldExpression><![CDATA[$F{data}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="99" width="55" height="12" backcolor="#CCCCCC" uuid="8b7388ce-c123-462b-bea7-0f93b3ddfb68"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[Nº DA VENDA:]]></text> </staticText> <textField> <reportElement x="55" y="99" width="55" height="12" uuid="193a1c6b-9e51-4778-9c01-4bd35f7ba684"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{nrvenda}]]></textFieldExpression> </textField> <line> <reportElement x="0" y="94" width="186" height="1" uuid="9ab7fd9c-500f-4eb2-bccf-4cdab7d7c03e"/> </line> <image> <reportElement x="0" y="0" width="186" height="56" uuid="ffabf6c5-f0b7-45c8-a208-0b33a2fafc9a"/> <imageExpression><![CDATA["../logo/"+$F{foto1}]]></imageExpression> </image> <staticText> <reportElement mode="Opaque" x="0" y="78" width="186" height="14" backcolor="#CCCCCC" uuid="676f6ab7-2ab4-4c6e-b9bb-672c6df618ea"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="8" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[COMPROVANTE NÃO FISCAL]]></text> </staticText> <line> <reportElement x="0" y="185" width="186" height="1" uuid="7a7509a4-2e82-4170-997c-13a6a44b9177"/> </line> <textField> <reportElement mode="Opaque" x="0" y="58" width="186" height="18" backcolor="#CCCCCC" uuid="448ff1c2-ec6a-444b-a30a-ba5e25f1692e"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="9" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{fantasia}]]></textFieldExpression> </textField> <textField> <reportElement x="55" y="111" width="131" height="12" uuid="7bf29b10-6585-45cd-b169-2e870129ca2d"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{nomev}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="123" width="55" height="12" backcolor="#CCCCCC" uuid="9b9ba722-7986-4b75-861b-35585fbd440e"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[CLIENTE:]]></text> </staticText> <textField> <reportElement x="55" y="123" width="131" height="12" uuid="95771752-df56-4745-b53e-09d07bc97efb"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{nome}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="111" width="55" height="12" backcolor="#CCCCCC" uuid="f425caaa-484f-45a4-aa51-66f1bb3693cb"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[VENDEDOR:]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="135" width="55" height="12" backcolor="#CCCCCC" uuid="cc70adb1-3158-4cb3-92b5-f4c90449bf1c"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[ENDEREÇO:]]></text> </staticText> <textField> <reportElement x="55" y="135" width="131" height="12" uuid="fd98d079-e937-498d-93c9-512bc4d2f70d"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{endereco} + ', ' + $F{numero}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="147" width="55" height="12" backcolor="#CCCCCC" uuid="faef5472-b6b5-4219-965e-cf5c8279d25b"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[COMP.:]]></text> </staticText> <textField> <reportElement x="55" y="147" width="131" height="12" uuid="1acd940f-3f5f-44c6-8009-8c37fb41fdea"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{complemento}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="159" width="55" height="12" backcolor="#CCCCCC" uuid="983a2a9a-df4d-4bc5-a2f8-236b28c128f8"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[BAIRRO:]]></text> </staticText> <textField> <reportElement x="55" y="159" width="131" height="12" uuid="dcc222e1-a8a8-4a37-af69-692f3e482259"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{bairro}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="171" width="55" height="12" backcolor="#CCCCCC" uuid="48652fef-989f-41d7-a84d-d63153eeba24"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[CIDADE:]]></text> </staticText> <textField> <reportElement x="55" y="171" width="131" height="12" uuid="85297550-2f69-4120-93e9-30ef295af055"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{cidade} + ' / ' + $F{uf}]]></textFieldExpression> </textField> </band> </title> <columnHeader> <band height="12"> <staticText> <reportElement mode="Opaque" x="52" y="0" width="67" height="12" backcolor="#CCCCCC" uuid="f48675f7-1e42-45ac-a180-6002eeb777cc"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Top"> <font size="7" isBold="true"/> <paragraph rightIndent="5"/> </textElement> <text><![CDATA[R$ VALOR]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="0" width="52" height="12" backcolor="#CCCCCC" uuid="74c403aa-4d3e-4c21-a274-5c6e7eeb9745"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Top"> <font size="7" isBold="true"/> <paragraph rightIndent="5"/> </textElement> <text><![CDATA[QUANTIDADE]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="119" y="0" width="67" height="12" backcolor="#CCCCCC" uuid="3482c3c9-3373-479e-b458-d5327c3b4b09"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Top"> <font size="7" isBold="true"/> <paragraph rightIndent="5"/> </textElement> <text><![CDATA[R$ SUBTOTAL]]></text> </staticText> </band> </columnHeader> <detail> <band height="25" splitType="Stretch"> <textField isStretchWithOverflow="true"> <reportElement x="0" y="0" width="186" height="12" uuid="e06c4bc6-e0f7-4e0e-8a7b-ab5ce1fd5e62"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="false"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{descricao}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="53" y="12" width="67" height="12" uuid="1d928a34-4972-4204-9612-9f0e8a6749d3"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{valor}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="0" y="12" width="52" height="12" uuid="f6d30d04-d0fe-4dd3-a675-377ff6d2b473"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{quantidade}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement x="119" y="12" width="67" height="12" uuid="0603e3b7-801d-49af-9a06-5d33023c5277"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Center" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{subtotal}]]></textFieldExpression> </textField> </band> </detail> <summary> <band height="203"> <staticText> <reportElement mode="Opaque" x="0" y="82" width="85" height="16" backcolor="#CCCCCC" uuid="6b173bab-525a-4da5-a564-723a8cbb1fbc"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TROCO:]]></text> </staticText> <staticText> <reportElement x="0" y="3" width="53" height="12" uuid="c99a6844-ca28-47c7-a022-80d2717bf547"/> <textElement textAlignment="Center" verticalAlignment="Bottom"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[Emissão:]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="66" width="85" height="16" backcolor="#CCCCCC" uuid="d0b8947e-8183-4a55-8b6d-f238bdac0404"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TOTAL REC.:]]></text> </staticText> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="82" width="101" height="16" uuid="a15e9cba-0f96-42be-8071-dbd7afecf73a"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{troco}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="34" width="101" height="16" uuid="47411e66-b385-427c-825c-3be4e4abe45e"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{desconto}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="34" width="85" height="16" backcolor="#CCCCCC" uuid="05f791f7-9e38-4ee2-b7db-8e1ec1d6275f"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ DESCONTO:]]></text> </staticText> <staticText> <reportElement mode="Opaque" x="0" y="18" width="85" height="16" backcolor="#CCCCCC" uuid="3c260ede-9083-41f2-aa35-b2e044fc645a"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ SUBTOTAL:]]></text> </staticText> <textField> <reportElement x="53" y="3" width="133" height="12" uuid="47291c92-c9d1-40ac-a8d8-82247f26f98b"/> <textElement verticalAlignment="Top"> <font size="7"/> <paragraph leftIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{hoje}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="66" width="101" height="16" uuid="798cef8b-50c8-437b-af79-95526dbcd315"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_rec}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" mode="Transparent" x="85" y="18" width="101" height="16" uuid="ac0e949b-93f4-4ded-a654-97230a33cb20"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7" isBold="false" isItalic="false" isUnderline="false" isStrikeThrough="false"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_prod}]]></textFieldExpression> </textField> <textField pattern="#,##0.00;-#,##0.00"> <reportElement isPrintRepeatedValues="false" x="85" y="50" width="101" height="16" uuid="98a37383-f178-4e9b-817a-66c3ebe183a5"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement textAlignment="Right" verticalAlignment="Middle"> <font size="7"/> <paragraph rightIndent="5"/> </textElement> <textFieldExpression><![CDATA[$F{total_venda}]]></textFieldExpression> </textField> <textField isStretchWithOverflow="true"> <reportElement positionType="Float" stretchType="RelativeToBandHeight" x="0" y="102" width="186" height="98" isPrintWhenDetailOverflows="true" uuid="85f18504-1690-48ae-a11a-02a6b0ef4489"/> <box> <pen lineColor="#999999"/> <topPen lineColor="#999999"/> <leftPen lineColor="#999999"/> <bottomPen lineColor="#999999"/> <rightPen lineColor="#999999"/> </box> <textElement markup="none"> <font size="7" isPdfEmbedded="false"/> </textElement> <textFieldExpression><![CDATA[$F{pagamentos_venda}]]></textFieldExpression> </textField> <staticText> <reportElement mode="Opaque" x="0" y="50" width="85" height="16" backcolor="#CCCCCC" uuid="1fc6ac4f-3090-4de5-8fd6-7562b4058ecf"/> <box> <pen lineWidth="0.25" lineColor="#999999"/> <topPen lineWidth="0.25" lineColor="#999999"/> <leftPen lineWidth="0.25" lineColor="#999999"/> <bottomPen lineWidth="0.25" lineColor="#999999"/> <rightPen lineWidth="0.25" lineColor="#999999"/> </box> <textElement verticalAlignment="Middle"> <font size="7" isBold="true"/> <paragraph leftIndent="5"/> </textElement> <text><![CDATA[R$ TOTAL:]]></text> </staticText> <line> <reportElement x="0" y="0" width="186" height="1" uuid="e3ab1d85-d813-4fe6-ba0d-70c9bf390b79"/> </line> </band> </summary> </jasperReport> É só o Summary que está com problema mesmo (da "emissão" pra baixo), o resto que não está aparecendo realmente foi omitido pois não cabe neste escopo.
×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.