@@ -1341,8 +1341,7 @@ discard block |
||
1341 | 1341 | $texto = $this->getTagValue($this->enderExped, "xLgr") . ', '; |
1342 | 1342 | $texto .= $this->getTagValue($this->enderExped, "nro"); |
1343 | 1343 | $texto .= $this->getTagValue($this->enderExped, "xCpl") != "" ? |
1344 | - ' - ' . $this->getTagValue($this->enderExped, "xCpl") : |
|
1345 | - ''; |
|
1344 | + ' - ' . $this->getTagValue($this->enderExped, "xCpl") : ''; |
|
1346 | 1345 | } else { |
1347 | 1346 | $texto = ''; |
1348 | 1347 | } |
@@ -1438,8 +1437,7 @@ discard block |
||
1438 | 1437 | $texto = $this->getTagValue($this->enderReceb, "xLgr") . ', '; |
1439 | 1438 | $texto .= $this->getTagValue($this->enderReceb, "nro"); |
1440 | 1439 | $texto .= ($this->getTagValue($this->enderReceb, "xCpl") != "") ? |
1441 | - ' - ' . $this->getTagValue($this->enderReceb, "xCpl") : |
|
1442 | - ''; |
|
1440 | + ' - ' . $this->getTagValue($this->enderReceb, "xCpl") : ''; |
|
1443 | 1441 | } else { |
1444 | 1442 | $texto = ''; |
1445 | 1443 | } |
@@ -1643,7 +1641,7 @@ discard block |
||
1643 | 1641 | $qCarga = 0; |
1644 | 1642 | foreach ($this->infQ as $infQ) { |
1645 | 1643 | if (in_array($this->getTagValue($infQ, "cUnid"), array('01', '02'))) { |
1646 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1644 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1647 | 1645 | } |
1648 | 1646 | } |
1649 | 1647 | $texto = 'PESO BRUTO (KG)'; |
@@ -1694,7 +1692,7 @@ discard block |
||
1694 | 1692 | $qCarga = 0; |
1695 | 1693 | foreach ($this->infQ as $infQ) { |
1696 | 1694 | if ($this->getTagValue($infQ, "cUnid") == '00') { |
1697 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1695 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1698 | 1696 | } |
1699 | 1697 | } |
1700 | 1698 | $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : ''; |
@@ -1711,7 +1709,7 @@ discard block |
||
1711 | 1709 | $qCarga = 0; |
1712 | 1710 | foreach ($this->infQ as $infQ) { |
1713 | 1711 | if ($this->getTagValue($infQ, "cUnid") == '03') { |
1714 | - $qCarga += (float)$this->getTagValue($infQ, "qCarga"); |
|
1712 | + $qCarga += (float) $this->getTagValue($infQ, "qCarga"); |
|
1715 | 1713 | } |
1716 | 1714 | } |
1717 | 1715 | $texto = !empty($qCarga) ? number_format($qCarga, 3, ",", ".") : ''; |
@@ -3641,7 +3639,7 @@ discard block |
||
3641 | 3639 | $y = $y + 5; |
3642 | 3640 | $this->pdf->line($x, $y + 3, $w * 0.255, $y + 3); // LINHA HORIZONTAL ACIMA DO RG ABAIXO DO NOME |
3643 | 3641 | $texto = 'RG'; |
3644 | - $aFont = ['font' => $this->fontePadrao,'size' => 6,'style' => '']; |
|
3642 | + $aFont = ['font' => $this->fontePadrao, 'size' => 6, 'style' => '']; |
|
3645 | 3643 | $this->pdf->textBox($x, $y + 3, $w * 0.33, $h, $texto, $aFont, 'T', 'L', 0, ''); |
3646 | 3644 | $x += $w * 0.85; |
3647 | 3645 | $this->pdf->line($x, $y + 11.5, $x, $y - 5); // LINHA VERTICAL PROXIMO AO CT-E |