Skip to content

Commit

Permalink
Remoção do valor total da NFe do DanfeEtiqueta, conforme Nota Técnica…
Browse files Browse the repository at this point in the history
… 2020.004 - v.1.10 - Publicada em 19/08/2024
  • Loading branch information
matheusryndack committed Oct 22, 2024
1 parent 1c8f245 commit 0a41f0b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/NFe/DanfeEtiqueta.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,6 @@ protected function monta(
$y = $this->bloco3($y);
$y = $this->bloco4($y);
$y = $this->bloco5($y);
$y = $this->bloco6($y);
}

protected function bloco1($y)
Expand Down Expand Up @@ -395,16 +394,6 @@ protected function bloco4($y)
}

protected function bloco5($y)
{
$total = number_format($this->getTagValue($this->ICMSTot, 'vNF'), 2, ',', '.');
$texto = "Valor TOTAL da NFe: R$ $total";
$aFont = ['font' => $this->fontePadrao, 'size' => 10, 'style' => 'B'];
$y += $this->pdf->textBox($this->margem, $y, $this->wPrint, 6, $texto, $aFont, 'C', 'C', false, '', true);
$this->pdf->line($this->margem, $y+3, $this->wPrint+$this->margem, $y+3);
return $y+2;
}

protected function bloco6($y)
{
if (!empty($this->compra)) {
$pedido = $this->getTagValue($this->compra, 'xPed');
Expand Down

0 comments on commit 0a41f0b

Please sign in to comment.