Skip to content

Commit

Permalink
Merge pull request #463 from robmachado/master
Browse files Browse the repository at this point in the history
limpeza
  • Loading branch information
robmachado committed Apr 30, 2021
2 parents cbb0fa1 + 357c87c commit beaba6a
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/NFe/Danfe.php
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public function setQComCasasDec($qComCasasDec)
{
$this->qComCasasDec = $qComCasasDec;
}

/**
* Atribui se a unidade tributável deve sempre ocultada nos itens.
* @param bool $ocultarUnidadeTributavel
Expand Down Expand Up @@ -2677,7 +2677,7 @@ protected function descricaoProduto($itemProd)
$datafab = " Fab: " . $dFab;
$dVal = $this->getTagDate($rastro->item($i), 'dVal');
$dataval = " Val: " . $dVal;

$loteTxt .= $this->getTagValue($rastro->item($i), 'nLote', ' Lote: ');
$loteTxt .= $this->getTagValue($rastro->item($i), 'qLote', ' Quant: ');
$loteTxt .= $datafab; //$this->getTagDate($rastro->item($i), 'dFab', ' Fab: ');
Expand Down Expand Up @@ -3393,10 +3393,6 @@ protected function dadosAdicionais($x, $y, $h)
$this->pdf->textBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 1, '');
//o texto com os dados adicionais foi obtido na função montaDANFE
//e carregado em uma propriedade privada da classe
//$this->wAdic com a largura do campo
//$this->textoAdic com o texto completo do campo
//echo str_replace("\n", "<br>",$this->textoAdic);
//die;
$y += 1;
$aFont = ['font' => $this->fontePadrao, 'size' => $this->textadicfontsize * $this->pdf->k, 'style' => ''];
//$aFont = ['font'=>$this->fontePadrao, 'size'=> 5, 'style'=>''];
Expand Down

0 comments on commit beaba6a

Please sign in to comment.