Skip to content

Commit

Permalink
Merge pull request #18 from jefersonmenegaldo/fix/remove-obrigatoried…
Browse files Browse the repository at this point in the history
…ade-tags-icms

fix(icms): remove obrigatoriedade de alguns campos de icms
  • Loading branch information
mazinsw authored Aug 14, 2024
2 parents fb23594 + 9ecafa7 commit ee65186
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 2 additions & 4 deletions src/NFe/Entity/Imposto/ICMS/Parcial.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,15 +225,13 @@ public function loadNode($element, $name = null)
$this->setMargem(
Util::loadNode(
$element,
'pMVAST',
'Tag "pMVAST" do campo "Margem" não encontrada no ICMS Parcial'
'pMVAST'
)
);
$this->setReducao(
Util::loadNode(
$element,
'pRedBCST',
'Tag "pRedBCST" do campo "Reducao" não encontrada no ICMS Parcial'
'pRedBCST'
)
);
$this->setBase(
Expand Down
6 changes: 2 additions & 4 deletions src/NFe/Entity/Imposto/ICMS/Simples/Parcial.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ public function loadNode($element, $name = null)
$this->setMargem(
Util::loadNode(
$element,
'pMVAST',
'Tag "pMVAST" do campo "Margem" não encontrada'
'pMVAST'
)
);
$this->setReducao(
Util::loadNode(
$element,
'pRedBCST',
'Tag "pRedBCST" do campo "Reducao" não encontrada'
'pRedBCST'
)
);
$this->setBase(
Expand Down

0 comments on commit ee65186

Please sign in to comment.