@@ -794,15 +794,15 @@ |
||
| 794 | 794 | $this->setDrawColor(0); |
| 795 | 795 | } |
| 796 | 796 | |
| 797 | - /** |
|
| 798 | - * Desenha uma linha vertical tracejada com o FPDF |
|
| 799 | - * @param number $x Posição horizontal inicial, em mm |
|
| 800 | - * @param number $y Posição vertical inicial, em mm |
|
| 801 | - * @param number $w Espessura da linha, em mm |
|
| 802 | - * @param number $yfinal posição final |
|
| 803 | - * @param number $n Numero de traços na seção da linha com o comprimento $w |
|
| 804 | - * @return none |
|
| 805 | - */ |
|
| 797 | + /** |
|
| 798 | + * Desenha uma linha vertical tracejada com o FPDF |
|
| 799 | + * @param number $x Posição horizontal inicial, em mm |
|
| 800 | + * @param number $y Posição vertical inicial, em mm |
|
| 801 | + * @param number $w Espessura da linha, em mm |
|
| 802 | + * @param number $yfinal posição final |
|
| 803 | + * @param number $n Numero de traços na seção da linha com o comprimento $w |
|
| 804 | + * @return none |
|
| 805 | + */ |
|
| 806 | 806 | public function dashedVLine($x, $y, $w, $yfinal, $n) |
| 807 | 807 | { |
| 808 | 808 | $this->setLineWidth($w); |
@@ -64,11 +64,11 @@ |
||
| 64 | 64 | * @var boolean |
| 65 | 65 | */ |
| 66 | 66 | protected $descProdQuebraLinha = true; |
| 67 | - /** |
|
| 68 | - * Parâmetro para ocultar a unidade tributável nos itens |
|
| 69 | - * |
|
| 70 | - * @var boolean |
|
| 71 | - */ |
|
| 67 | + /** |
|
| 68 | + * Parâmetro para ocultar a unidade tributável nos itens |
|
| 69 | + * |
|
| 70 | + * @var boolean |
|
| 71 | + */ |
|
| 72 | 72 | protected $ocultarUnidadeTributavel = false; |
| 73 | 73 | /** |
| 74 | 74 | * XML NFe |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | $c1, |
| 306 | 306 | 5, |
| 307 | 307 | "{$this->nfeArray['NFe']['infNFe']['ide']['tpNF']} - " . |
| 308 | - ($this->nfeArray['NFe']['infNFe']['ide']['tpNF']==1 ? 'Saida':'Entrada'), |
|
| 308 | + ($this->nfeArray['NFe']['infNFe']['ide']['tpNF']==1 ? 'Saida':'Entrada'), |
|
| 309 | 309 | 1, |
| 310 | 310 | 0, |
| 311 | 311 | 'C', |
@@ -396,8 +396,8 @@ discard block |
||
| 396 | 396 | ); |
| 397 | 397 | |
| 398 | 398 | $enderecoEmit = "{$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['xMun']}" |
| 399 | - . " / {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['UF']}" |
|
| 400 | - . " - CEP {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['CEP']}"; |
|
| 399 | + . " / {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['UF']}" |
|
| 400 | + . " - CEP {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['CEP']}"; |
|
| 401 | 401 | |
| 402 | 402 | // LINHA 9 |
| 403 | 403 | $this->pdf->setFont('Arial', '', $pequeno ? 9 : 10); |
@@ -443,8 +443,8 @@ discard block |
||
| 443 | 443 | $enderecoLinha2 .= "{$this->nfeArray['NFe']['infNFe']['entrega']['xCpl']} - "; |
| 444 | 444 | } |
| 445 | 445 | $enderecoLinha2 .= "{$this->nfeArray['NFe']['infNFe']['entrega']['xMun']}" |
| 446 | - . " / {$this->nfeArray['NFe']['infNFe']['entrega']['UF']}" |
|
| 447 | - . " - CEP {$this->nfeArray['NFe']['infNFe']['entrega']['CEP']}"; |
|
| 446 | + . " / {$this->nfeArray['NFe']['infNFe']['entrega']['UF']}" |
|
| 447 | + . " - CEP {$this->nfeArray['NFe']['infNFe']['entrega']['CEP']}"; |
|
| 448 | 448 | } else { |
| 449 | 449 | $enderecoLinha1 = "{$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['xLgr']}"; |
| 450 | 450 | if (!empty($this->nfeArray['NFe']['infNFe']['dest']['enderDest']['nro'])) { |
@@ -455,8 +455,8 @@ discard block |
||
| 455 | 455 | $enderecoLinha2 .= "{$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['xCpl']} - "; |
| 456 | 456 | } |
| 457 | 457 | $enderecoLinha2 .= "{$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['xMun']}" |
| 458 | - . " / {$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['UF']}" |
|
| 459 | - . " - CEP {$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['CEP']}"; |
|
| 458 | + . " / {$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['UF']}" |
|
| 459 | + . " - CEP {$this->nfeArray['NFe']['infNFe']['dest']['enderDest']['CEP']}"; |
|
| 460 | 460 | } |
| 461 | 461 | |
| 462 | 462 | $this->pdf->setFont('Arial', '', $pequeno ? 9 : 10); |