Skip to content

Commit

Permalink
Merge pull request #529 from robmachado/master
Browse files Browse the repository at this point in the history
ISSUE #526 ajustes para capturar o vTotTrib no BLOCO IX
  • Loading branch information
robmachado authored Apr 8, 2022
2 parents dd20479 + 5d7305a commit c54adbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NFe/Traits/TraitBlocoIX.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ trait TraitBlocoIX
protected function blocoIX($y)
{
$aFont = ['font'=> $this->fontePadrao, 'size' => 7, 'style' => ''];
$valor = $this->getTagValue($this->imposto, 'vTotTrib');
$valor = $this->getTagValue($this->ICMSTot, 'vTotTrib');
$trib = !empty($valor) ? number_format((float) $valor, 2, ',', '.') : '-----';
$texto = "Tributos totais Incidentes (Lei Federal 12.741/2012): R$ {$trib}";
$aFont = ['font'=> $this->fontePadrao, 'size' => 7, 'style' => ''];
Expand Down

0 comments on commit c54adbb

Please sign in to comment.