Skip to content

Commit 431cc93

Browse files
ajustes para incluir o campo vTotDFe apenas se for informado o grupo de ibscbs.
1 parent 1ea6097 commit 431cc93

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/MakeCTe.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -596,9 +596,9 @@ public function monta()
596596
$this->dom->appChild($this->IBSCBS, $this->gEstornoCred, 'Falta tag "IBSCBS"');
597597
}
598598
$this->dom->appChild($this->imp, $this->IBSCBS, 'Falta tag "imp"');
599-
}
600-
if (isset($this->vTotDFe)) {
601-
$this->dom->appChild($this->imp, $this->vTotDFe, 'Falta tag "imp"');
599+
if (isset($this->vTotDFe)) {
600+
$this->dom->appChild($this->imp, $this->vTotDFe, 'Falta tag "imp"');
601+
}
602602
}
603603
}
604604
$this->dom->appChild($this->infCte, $this->imp, 'Falta tag "imp"');

src/MakeCTeOS.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,9 @@ public function monta()
365365
$this->dom->appChild($this->IBSCBS, $this->gEstornoCred, 'Falta tag "IBSCBS"');
366366
}
367367
$this->dom->appChild($this->imp, $this->IBSCBS, 'Falta tag "imp"');
368-
}
369-
if (isset($this->vTotDFe)) {
370-
$this->dom->appChild($this->imp, $this->vTotDFe, 'Falta tag "imp"');
368+
if (isset($this->vTotDFe)) {
369+
$this->dom->appChild($this->imp, $this->vTotDFe, 'Falta tag "imp"');
370+
}
371371
}
372372
}
373373

0 commit comments

Comments
 (0)