Skip to content

Commit

Permalink
Ajute do ultimo PR, que veio com um BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
robmachado committed Nov 11, 2024
1 parent 11e9151 commit 836b2e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 26 deletions.
3 changes: 2 additions & 1 deletion src/NFe/Danfe.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ protected function monta(
$logo = ''
) {
$this->pdf = '';
$this->pdf->setTitle($this->title);

$this->logomarca = $this->adjustImage($logo);
//se a orientação estiver em branco utilizar o padrão estabelecido na NF
if (empty($this->orientacao)) {
Expand Down Expand Up @@ -544,6 +544,7 @@ protected function monta(
$this->pdf->setFillColor(255, 255, 255);
// inicia o documento
$this->pdf->open();
$this->pdf->setTitle($this->title);
// adiciona a primeira página
$this->pdf->addPage($this->orientacao, $this->papel);
$this->pdf->setLineWidth(0.1);
Expand Down
25 changes: 0 additions & 25 deletions src/NFe/Traits/TraitDadosAdicionaisNfeOutras.php

This file was deleted.

8 changes: 8 additions & 0 deletions src/NFe/Traits/TraitVeicProd.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

namespace NFePHP\DA\NFe\Traits;

trait TraitVeicProd
{

}

0 comments on commit 836b2e8

Please sign in to comment.