From 75429dcb802be2b7be863229fbedcaa61c35c847 Mon Sep 17 00:00:00 2001 From: Rafael Abensur Date: Fri, 22 Mar 2024 09:32:59 -0300 Subject: [PATCH] Typos in Danfce.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Simples correções tipográficas --- src/NFe/Danfce.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/NFe/Danfce.php b/src/NFe/Danfce.php index e4ae8bc5..4cc2f2b5 100644 --- a/src/NFe/Danfce.php +++ b/src/NFe/Danfce.php @@ -69,7 +69,7 @@ class Danfce extends DaCommon protected $canceled = false; protected $submessage = null; - protected $bloco1H = 18.0; //cabecalho + protected $bloco1H = 18.0; //cabeçalho protected $bloco2H = 12.0; //informação fiscal protected $bloco3H = 0.0; //itens @@ -169,7 +169,7 @@ public function setAsCanceled() } /** - * Registra via do estabelecimento quando a impressção for offline + * Registra via do estabelecimento quando a impressão for offline */ public function setViaEstabelecimento() { @@ -187,7 +187,7 @@ public function setOffLineDoublePrint($flag = true) } /** - * Recebe uma string com uma informação adicionadl que sera impressa no final do pdf + * Recebe uma string com uma informação adicional que será impressa ao final do pdf * * @param string $texto */ @@ -260,7 +260,7 @@ protected function monta( $y = $this->blocoVII($y); //informações sobre o consumidor e dados da NFCe $y = $this->blocoVIII($y); //QRCODE $y = $this->blocoIX($y); //informações complementares e sobre tributos - $y = $this->blocoX($y); //creditos + $y = $this->blocoX($y); //créditos $ymark = $maxH / 4; if ($this->tpAmb == 2) { @@ -322,7 +322,7 @@ protected function monta( $this->pdf->addPage($this->orientacao, $this->papel); // adiciona a primeira página $this->pdf->setLineWidth(0.1); // define a largura da linha $this->pdf->setTextColor(0, 0, 0); - $y = $this->blocoI(); //cabecalho + $y = $this->blocoI(); //cabeçalho $y = $this->blocoII($y); //informação cabeçalho fiscal e contingência $y = $this->blocoIII($y); //informação dos itens $y = $this->blocoIV($y); //informação sobre os totais @@ -331,7 +331,7 @@ protected function monta( $y = $this->blocoVII($y); //informações sobre o consumidor e dados da NFCe $y = $this->blocoVIII($y); //QRCODE $y = $this->blocoIX($y); //informações sobre tributos - $y = $this->blocoX($y); //creditos + $y = $this->blocoX($y); //créditos $ymark = $maxH / 4; if ($this->tpAmb == 2) { $this->pdf->setTextColor(120, 120, 120); @@ -363,7 +363,7 @@ private function calculatePaperLength() $this->bloco5H = $this->calculateHeightPag(); $this->bloco9H = $this->calculateHeighBlokIX(); - $length = $this->bloco1H //cabecalho + $length = $this->bloco1H //cabeçalho + $this->bloco2H //informação fiscal + $this->bloco3H //itens + $this->bloco4H //totais