Skip to content

Commit

Permalink
Merge pull request #168 from robmachado/master
Browse files Browse the repository at this point in the history
ajustes na consulta R2010
  • Loading branch information
robmachado authored Mar 22, 2024
2 parents e9127ec + b81e07e commit 64626a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@ protected function consultR2010($evt, $std): string
}
$request .= "<sped:tpInscEstab>{$std->tpinscestab}</sped:tpInscEstab>"
. "<sped:nrInscEstab>"
. str_pad($std->nrinscestab, 14, '0', STR_PAD_LEFT)
. $std->nrinscestab
. "</sped:nrInscEstab>"
. "<sped:cnpjPrestador>"
. str_pad($std->cnpjprestador, 14, '0', STR_PAD_LEFT)
. $std->cnpjprestador
. "</sped:cnpjPrestador>"
. "</sped:{$this->method}>";
return $request;
Expand Down

0 comments on commit 64626a8

Please sign in to comment.