From 9cdc67b100358c7feb17b52bec3778229f870ca4 Mon Sep 17 00:00:00 2001 From: Djeison Selzlein Date: Mon, 20 Mar 2017 13:31:37 -0300 Subject: [PATCH] corrected Fone and Fax fields at Reg0005 in order to generate as empty if not informed --- .../java/coffeepot/br/sped/fiscal/arquivo/bloco0/Reg0005.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/coffeepot/br/sped/fiscal/arquivo/bloco0/Reg0005.java b/src/main/java/coffeepot/br/sped/fiscal/arquivo/bloco0/Reg0005.java index 2a69b42..3dbfb63 100644 --- a/src/main/java/coffeepot/br/sped/fiscal/arquivo/bloco0/Reg0005.java +++ b/src/main/java/coffeepot/br/sped/fiscal/arquivo/bloco0/Reg0005.java @@ -36,8 +36,8 @@ @Field(name = "num", maxLength = 10), @Field(name = "compl", maxLength = 60), @Field(name = "bairro", maxLength = 60), - @Field(name = "fone", length = 11, paddingIfNullOrEmpty = true, params = {DefaultStringHandler.PARAM_FILTER_NUMBER_ONLY}), - @Field(name = "fax", length = 11, paddingIfNullOrEmpty = true, params = {DefaultStringHandler.PARAM_FILTER_NUMBER_ONLY}), + @Field(name = "fone", maxLength = 11, params = {DefaultStringHandler.PARAM_FILTER_NUMBER_ONLY}), + @Field(name = "fax", maxLength = 11, params = {DefaultStringHandler.PARAM_FILTER_NUMBER_ONLY}), @Field(name = "email") }) @Getter