Skip to content

Commit

Permalink
Correções para algumas gerações com o OpenFast (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
felixsevero authored Oct 27, 2023
1 parent 4816675 commit eb622f1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions NFe.Danfe.AppTeste.OpenFast/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ private static DanfeFrNfce GeraClasseDanfeFrNFce(string xml)
},
cIdToken: _configuracoes.CIdToken,
csc: _configuracoes.Csc,
arquivoRelatorio: "C:\\PainelInformatica\\Relatorios\\NFCe.frx"); // string.Empty);
arquivoRelatorio: string.Empty);

return danfe;
}
Expand Down Expand Up @@ -687,7 +687,8 @@ private static DanfeFrEvento GeraClasseDanfeFrEvento(string xml, string xmlEvent
ExibeRetencoes = configuracaoDanfeNfe.ExibeRetencoes,

},
desenvolvedor: "NOME DA SOFTWARE HOUSE");
desenvolvedor: "NOME DA SOFTWARE HOUSE",
arquivoRelatorio: string.Empty);

return danfe;
}
Expand Down
2 changes: 1 addition & 1 deletion NFe.Danfe.OpenFast/NFe/DanfeFrEvento.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public DanfeFrEvento(nfeProc proc, Classes.Servicos.Consulta.procEventoNFe procE
frx = FrxFileHelper.TryGetFrxFile(caminho);
}

Relatorio = DanfeSharedHelper.GenerateDanfeFrEventoReport(proc, procEventoNFe, configuracaoDanfeNfe, null, desenvolvedor, arquivoRelatorio);
Relatorio = DanfeSharedHelper.GenerateDanfeFrEventoReport(proc, procEventoNFe, configuracaoDanfeNfe, frx, desenvolvedor, arquivoRelatorio);
}
}
}
2 changes: 1 addition & 1 deletion NFe.Danfe.OpenFast/NFe/DanfeFrNfe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public DanfeFrNfe(nfeProc proc, ConfiguracaoDanfeNfe configuracaoDanfeNfe, strin
frx = FrxFileHelper.TryGetFrxFile(caminho);
}

this.Relatorio = DanfeSharedHelper.GenerateDanfeFrNfeReport(proc, configuracaoDanfeNfe, frx, desenvolvedor, arquivoRelatorio);
Relatorio = DanfeSharedHelper.GenerateDanfeFrNfeReport(proc, configuracaoDanfeNfe, frx, desenvolvedor, arquivoRelatorio);
}

/// <summary>
Expand Down

0 comments on commit eb622f1

Please sign in to comment.