From 267cd8eaa1dbd3364ce1d14e146012c05702b80e Mon Sep 17 00:00:00 2001 From: Luiz Kim Date: Wed, 22 Nov 2023 17:02:56 -0300 Subject: [PATCH] Teste --- lib/Sped/Gnre/Helper/GnreHelper.php | 4 ++-- lib/Sped/Gnre/Sefaz/ConfigUf.php | 2 +- lib/Sped/Gnre/Sefaz/Consulta.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Sped/Gnre/Helper/GnreHelper.php b/lib/Sped/Gnre/Helper/GnreHelper.php index 2319ccc..86a690e 100644 --- a/lib/Sped/Gnre/Helper/GnreHelper.php +++ b/lib/Sped/Gnre/Helper/GnreHelper.php @@ -62,7 +62,7 @@ public static function getGuiaGnre($xmlNf): Guia $guia->c03_idContribuinteEmitente = $xml->NrDocumentoEmpresa; $guia->c18_enderecoEmitente = $xml->EnderecoEmpresa; - $guia->c19_municipioEmitente = $xml->CdMunicipioEmpresa; + $guia->c19_municipioEmitente = 15004;//$xml->CdMunicipioEmpresa; $guia->c20_ufEnderecoEmitente = $xml->UfEmpresa; $guia->c17_inscricaoEstadualEmitente = $xml->NrIEEmpresa; @@ -71,7 +71,7 @@ public static function getGuiaGnre($xmlNf): Guia $guia->c35_idContribuinteDestinatario = $xml->NrDocumentoCliente; $guia->c36_inscricaoEstadualDestinatario = $xml->NrIECliente; $guia->c37_razaoSocialDestinatario = $xml->NmCliente; - $guia->c38_municipioDestinatario = $xml->CdMunicipioCliente; + $guia->c38_municipioDestinatario = 06200;//$xml->CdMunicipioCliente; return $guia; } diff --git a/lib/Sped/Gnre/Sefaz/ConfigUf.php b/lib/Sped/Gnre/Sefaz/ConfigUf.php index c4794ce..27da62d 100644 --- a/lib/Sped/Gnre/Sefaz/ConfigUf.php +++ b/lib/Sped/Gnre/Sefaz/ConfigUf.php @@ -72,7 +72,7 @@ public function toXml() $gnre->preserveWhiteSpace = false; $consulta = $gnre->createElement('TConsultaConfigUf'); - $consulta->setAttribute('xmlns', 'https://www.gnre.pe.gov.br'); + $consulta->setAttribute('xmlns', 'http://www.gnre.pe.gov.br'); $ambiente = $gnre->createElement('ambiente', $this->getEnvironment()); $estado = $gnre->createElement('uf', $this->getEstado()); diff --git a/lib/Sped/Gnre/Sefaz/Consulta.php b/lib/Sped/Gnre/Sefaz/Consulta.php index 111d70a..c87de23 100644 --- a/lib/Sped/Gnre/Sefaz/Consulta.php +++ b/lib/Sped/Gnre/Sefaz/Consulta.php @@ -71,7 +71,7 @@ public function toXml() $gnre->preserveWhiteSpace = false; $consulta = $gnre->createElement('TConsLote_GNRE'); - $consulta->setAttribute('xmlns', 'https://www.gnre.pe.gov.br'); + $consulta->setAttribute('xmlns', 'http://www.gnre.pe.gov.br'); $ambiente = $gnre->createElement('ambiente', $this->getEnvironment()); $numeroRecibo = $gnre->createElement('numeroRecibo', $this->getRecibo());