Skip to content

Commit

Permalink
Ajustes para Impressão dos CSTs 02, 15, 53, 61 Emitidas por Simples N…
Browse files Browse the repository at this point in the history
…acional (#1458)

* Ajuste para Obter Url do Serviço, nesse caso específico para consulta de CNPJ de Outros Estados

* Ajustes para Impressão dos CSTs 02, 15, 53, 61 quando a emissão por realizada por empresa optante pelo Simple Nacional

---------

Co-authored-by: adriano_g3 <[email protected]>
  • Loading branch information
adrbarros and adriano_g3 authored Nov 4, 2023
1 parent 0234d89 commit e7f0251
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion NFe.Danfe.Base/NFe/NFeRetrato.frx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,11 @@ namespace FastReport
var orig = icmsBasico.GetIcmsOrig();
if ((CRT)(Report.GetColumnValue(&quot;NFe.NFe.infNFe.emit.CRT&quot;)) == CRT.SimplesNacional)
{
prodOriginCell.Text = orig.OrigemMercadoriaParaString()+icmsBasico.GetIcmsCsosn().CsosnicmsParaString();
if (icmsBasico.GetIcmsCst().CsticmsParaString() == &quot;02&quot; || icmsBasico.GetIcmsCst().CsticmsParaString() == &quot;15&quot; ||
icmsBasico.GetIcmsCst().CsticmsParaString() == &quot;53&quot; || icmsBasico.GetIcmsCst().CsticmsParaString() == &quot;61&quot;)
prodOriginCell.Text = orig.OrigemMercadoriaParaString() + icmsBasico.GetIcmsCst().CsticmsParaString();
else
prodOriginCell.Text = orig.OrigemMercadoriaParaString() + icmsBasico.GetIcmsCsosn().CsosnicmsParaString();
}
else
{
Expand Down

0 comments on commit e7f0251

Please sign in to comment.