Skip to content

Commit 3f0c775

Browse files
Correcao Impressao Observacoes
1 parent 684f6e2 commit 3f0c775

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed
539 Bytes
Binary file not shown.

src/main/resources/jasper/nfe/danfe.jrxml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,8 +1001,8 @@ $F{Trans_CPF}.substring(9,11) : ""]]></textFieldExpression>
10011001
<textElement verticalAlignment="Top">
10021002
<font size="6" isItalic="false"/>
10031003
</textElement>
1004-
<textFieldExpression><![CDATA["Inf. Contribuinte:"+$F{Informacoes}.replace(" ","").replace("\n"," ")+
1005-
"\nInf. Fisco:"+$F{Informacoes_fisco}.replace(" ","").replace("\n"," ")]]></textFieldExpression>
1004+
<textFieldExpression><![CDATA[($F{Informacoes} != null ? ("Inf. Contribuinte:"+$F{Informacoes}.replace(" ","").replace("\n"," ") + "\n") : "") +
1005+
($F{Informacoes_fisco} != null ? ("Inf. Fisco:"+$F{Informacoes_fisco}.replace(" ","").replace("\n"," ")): "")]]></textFieldExpression>
10061006
</textField>
10071007
<frame>
10081008
<reportElement positionType="FixRelativeToBottom" stretchType="ContainerBottom" mode="Transparent" x="0" y="0" width="565" height="34" isPrintWhenDetailOverflows="true" uuid="91c422c4-c8b1-42ed-accb-e694dbf89daa">

src/test/java/br/com/swconsultoria/nfe/exemplos/IbsCbsTeste.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
import br.com.swconsultoria.nfe.util.IbsCbsUtil;
1414
import br.com.swconsultoria.nfe.util.ObjetoUtil;
1515
import br.com.swconsultoria.nfe.util.XmlNfeUtil;
16+
import org.junit.jupiter.api.Disabled;
1617
import org.junit.jupiter.api.Test;
1718

1819
import javax.xml.bind.JAXBElement;
@@ -25,6 +26,7 @@
2526
/**
2627
* @author Samuel Oliveira
2728
*/
29+
@Disabled
2830
class IbsCbsTeste {
2931

3032
@Test

0 commit comments

Comments
 (0)