@@ -272,7 +272,7 @@ discard block |
||
| 272 | 272 | |
| 273 | 273 | foreach ($this->nfeArray['NFe']['infNFe']['transp']['vol'] as $vol) { |
| 274 | 274 | |
| 275 | - $espVolume = isset($vol['esp']) ? $vol['esp'] : 'VOLUME'; //Caso não esteja especificado no xml, irá ser mostrado no danfe a palavra VOLUME |
|
| 275 | + $espVolume = isset($vol['esp']) ? $vol['esp'] : 'VOLUME'; //Caso não esteja especificado no xml, irá ser mostrado no danfe a palavra VOLUME |
|
| 276 | 276 | |
| 277 | 277 | if (!isset($volumes[$espVolume])) { |
| 278 | 278 | $volumes[$espVolume] = 0; |
@@ -310,7 +310,7 @@ discard block |
||
| 310 | 310 | $c1, |
| 311 | 311 | 5, |
| 312 | 312 | "{$this->nfeArray['NFe']['infNFe']['ide']['tpNF']} - " . |
| 313 | - ($this->nfeArray['NFe']['infNFe']['ide']['tpNF']==1 ? 'Saida':'Entrada'), |
|
| 313 | + ($this->nfeArray['NFe']['infNFe']['ide']['tpNF'] == 1 ? 'Saida' : 'Entrada'), |
|
| 314 | 314 | 1, |
| 315 | 315 | 0, |
| 316 | 316 | 'C', |
@@ -361,7 +361,7 @@ discard block |
||
| 361 | 361 | //que uma impressora de 203dpi consiga imprimir um código legível |
| 362 | 362 | $this->pdf->code128($this->margesq * 2, $y, $chave, ($this->maxW - $this->margesq * 4), 15); |
| 363 | 363 | } else { |
| 364 | - $this->pdf->code128(($c1/2), $y, $chave, ($c1 * 3), 15); |
|
| 364 | + $this->pdf->code128(($c1 / 2), $y, $chave, ($c1 * 3), 15); |
|
| 365 | 365 | } |
| 366 | 366 | $this->pdf->setFillColor(255, 255, 255); |
| 367 | 367 | $this->pdf->ln(); |
@@ -400,7 +400,7 @@ discard block |
||
| 400 | 400 | 1 |
| 401 | 401 | ); |
| 402 | 402 | |
| 403 | - $enderecoEmit = "{$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['xMun']}" |
|
| 403 | + $enderecoEmit = "{$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['xMun']}" |
|
| 404 | 404 | . " / {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['UF']}" |
| 405 | 405 | . " - CEP {$this->nfeArray['NFe']['infNFe']['emit']['enderEmit']['CEP']}"; |
| 406 | 406 | |