Skip to content

Commit

Permalink
Merge pull request #598 from robmachado/master
Browse files Browse the repository at this point in the history
danfce formas de pagamento em maiusculas
  • Loading branch information
robmachado authored Apr 6, 2024
2 parents 5a68a6d + 7715db9 commit e0b0bc6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 deletions.
15 changes: 0 additions & 15 deletions examples/nfe/fixtures/NFCeProd1.xml
Original file line number Diff line number Diff line change
Expand Up @@ -208,21 +208,6 @@
<tPag>19</tPag>
<vPag>0.94</vPag>
</detPag>
<detPag>
<indPag>0</indPag>
<tPag>02</tPag>
<vPag>10.94</vPag>
</detPag>
<detPag>
<indPag>0</indPag>
<tPag>03</tPag>
<vPag>20.94</vPag>
</detPag>
<detPag>
<indPag>0</indPag>
<tPag>04</tPag>
<vPag>20.94</vPag>
</detPag>
</pag>
<infAdic>
<infCpl>Valor aproximado de tributos R$ 1,41 (14.24%) - Fonte IBPT</infCpl>
Expand Down
2 changes: 1 addition & 1 deletion src/NFe/Traits/TraitBlocoV.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ protected function blocoV($y)
}
} else {
$tipo = $this->pagType((int) $this->getTagValue($this->pag, 'tPag'));
$valor = number_format((float) $this->getTagValue($pgto, 'vPag'), 2, ',', '.');
$valor = number_format((float) $this->getTagValue($this->pag, 'vPag'), 2, ',', '.');
$arpgto[] = [
'tipo' => $tipo,
'valor' => $valor
Expand Down

0 comments on commit e0b0bc6

Please sign in to comment.