Skip to content

Commit

Permalink
ISSUE nfephp-org#526 ajustes para capturar o vTotTrib no BLOCO IX
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Apr 8, 2022
1 parent 0d3bcca commit 5d7305a
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 5d7305a

Please sign in to comment.