Skip to content

Commit

Permalink
Merge pull request #232 from uilhianet/veicNovos
Browse files Browse the repository at this point in the history
corrigindo o local da tag veicNovos
  • Loading branch information
cleitonperin authored Aug 15, 2019
2 parents 2740a86 + 040beb2 commit 020eddb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/Make.php
Original file line number Diff line number Diff line change
Expand Up @@ -695,10 +695,11 @@ public function monta()
} else {
throw new Exception('Modal não informado ou não suportado.');
}
foreach ($this->veicNovos as $veicNovos) {
$this->dom->appChild($this->infCTeNorm, $veicNovos, 'Falta tag "infCte"');
}
}
foreach ($this->veicNovos as $veicNovos) {
$this->dom->appChild($this->infCte, $veicNovos, 'Falta tag "infCte"');
}

if ($this->cobr != '') {
$this->dom->appChild($this->infCte, $this->cobr, 'Falta tag "infCte"');
}
Expand Down

0 comments on commit 020eddb

Please sign in to comment.