Skip to content

Commit beaba6a

Browse files
authored
Merge pull request #463 from robmachado/master
limpeza
2 parents cbb0fa1 + 357c87c commit beaba6a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/NFe/Danfe.php

+2-6
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ public function setQComCasasDec($qComCasasDec)
329329
{
330330
$this->qComCasasDec = $qComCasasDec;
331331
}
332-
332+
333333
/**
334334
* Atribui se a unidade tributável deve sempre ocultada nos itens.
335335
* @param bool $ocultarUnidadeTributavel
@@ -2677,7 +2677,7 @@ protected function descricaoProduto($itemProd)
26772677
$datafab = " Fab: " . $dFab;
26782678
$dVal = $this->getTagDate($rastro->item($i), 'dVal');
26792679
$dataval = " Val: " . $dVal;
2680-
2680+
26812681
$loteTxt .= $this->getTagValue($rastro->item($i), 'nLote', ' Lote: ');
26822682
$loteTxt .= $this->getTagValue($rastro->item($i), 'qLote', ' Quant: ');
26832683
$loteTxt .= $datafab; //$this->getTagDate($rastro->item($i), 'dFab', ' Fab: ');
@@ -3393,10 +3393,6 @@ protected function dadosAdicionais($x, $y, $h)
33933393
$this->pdf->textBox($x, $y, $w, $h, $texto, $aFont, 'T', 'L', 1, '');
33943394
//o texto com os dados adicionais foi obtido na função montaDANFE
33953395
//e carregado em uma propriedade privada da classe
3396-
//$this->wAdic com a largura do campo
3397-
//$this->textoAdic com o texto completo do campo
3398-
//echo str_replace("\n", "<br>",$this->textoAdic);
3399-
//die;
34003396
$y += 1;
34013397
$aFont = ['font' => $this->fontePadrao, 'size' => $this->textadicfontsize * $this->pdf->k, 'style' => ''];
34023398
//$aFont = ['font'=>$this->fontePadrao, 'size'=> 5, 'style'=>''];

0 commit comments

Comments
 (0)