Skip to content

limpeza #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 30, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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