Skip to content

Commit

Permalink
Merge pull request #1083 from jalesc/master
Browse files Browse the repository at this point in the history
Ajuste para adicionar evento 110751 para utilizar o webservice SVRS
  • Loading branch information
robmachado authored Oct 28, 2024
2 parents 23ff0ed + 92272da commit b774ddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ public function sefazEvento(
$sSeqEvento = str_pad((string)$nSeqEvento, 2, "0", STR_PAD_LEFT);
$eventId = "ID" . $tpEvento . $chave . $sSeqEvento;
//NT 2024.002 versão 1.00 - Maio 2024, comentário P08 elemento cOrgao
if ($tpEvento === self::EVT_CONCILIACAO && $uf === 'SVRS') {
if (in_array($tpEvento, [self::EVT_CONCILIACAO, self::EVT_CANCELA_CONCILIACAO]) && $uf === 'SVRS') {
$cOrgao = 92;
} else {
$cOrgao = UFList::getCodeByUF($uf);
Expand Down

0 comments on commit b774ddc

Please sign in to comment.