Skip to content

Commit

Permalink
fix: remove formatacao de valor que zerava valor do produto na render…
Browse files Browse the repository at this point in the history
…izacao do pdf
  • Loading branch information
evandrogdn committed Feb 14, 2024
1 parent 67b3f9d commit 50c7804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NFe/Danfe.php
Original file line number Diff line number Diff line change
Expand Up @@ -2615,7 +2615,7 @@ protected function pItensDANFE($x, $y, &$nInicio, $hmax, $pag = 0, $totpag = 0,
$hValorUnitario = round(($linhaValorUnitario * 2), 2);
$h = $h > $hValorUnitario ? $h : $hValorUnitario;
} else {
$textoValorUnitario = number_format($vUnCom, 4, ",", ".");
$textoValorUnitario = $vUnCom;
}

$hUsado += $h;
Expand Down

0 comments on commit 50c7804

Please sign in to comment.