Skip to content

Commit

Permalink
Merge pull request #10 from arquivei/bugfix/BONDERS-287
Browse files Browse the repository at this point in the history
Correção de última página duplicada
Victor Hugo Diniz Brito dos Santos authored Jan 2, 2020
2 parents c8b27b9 + 356de14 commit 390043b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/NFe/Danfe.php
Original file line number Diff line number Diff line change
@@ -675,7 +675,9 @@ public function montaDANFE(
$hDispo2 = $this->hPrint - 10 - ($hcabecalho + $hfooter + $hCabecItens) - 4;
//Contagem da altura ocupada para impressão dos itens
$fontProduto = array('font' => $this->fontePadrao, 'size' => 7, 'style' => '');
$i = 1;
if (!isset($i) || (isset($i) && 0 === $i)) {
$i = 1;
}
$numlinhas = 0;
$hUsado = $hCabecItens;
$w2 = round($w * 0.28, 0);

0 comments on commit 390043b

Please sign in to comment.